For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Property Name
Description

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:

Java
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