DT Exchange Logging on Android
The DT Exchange Android SDK includes a built-in logging utility, InneractiveAdManager.setLogLevel, that monitors SDK behavior and streamlines integration debugging. You can control how much detail appears in the console output by setting the desired log level.
Set the log level before or immediately after calling InneractiveAdManager.initialize() to ensure that initialization events are logged.
The following table describes the log level attributes.
Log.INFO
Default Setting. Enables all logs.
Log.WARN
Enables warnings and errors. Use this for production.
Log.VERBOSE
Log.DEBUG
Enables detailed logs. Use this for development and troubleshooting.
Setting the Log Level
To configure the library's logging level, call InneractiveAdManager.setLogLevel and pass the desired log level.
The following example initializes the SDK and then sets the log level to Log.VERBOSE:
InneractiveAdManager.initialize(context, appId, new OnFyberMarketplaceInitializedListener() {
@Override
public void onFyberMarketplaceInitialized(FyberInitStatus status) {
if (status == FyberInitStatus.SUCCESSFULLY) {
Log.d("DTExchange", "DTExchange init success");
} else {
Log.e("DTExchange", "DTExchange init failed: " + status);
}
}
});
// Set the desired log level
// Use Log.VERBOSE for full logs during development
InneractiveAdManager.setLogLevel(Log.VERBOSE);Last updated

