Debugging

Feature is still in development and subject to change.

Log Subscription

By default, the SDK doesn't log anything, not even errors to the browser console. You can change this by subscribing to your own logger.

Tapjoy('subscribeLog', {
    logger: console
})

Initialization with logger

In order to not lose any logs during the SDK initialization, you can pass the logger argument directly in an init function.

Tapjoy('init', {
    ...,
    logger: console,
})