The AppLovin SDK provides various methods for enabling verbose logs via the output console / Logcat.
To verify you enabled verbose logs successfully you can check for this line Verbose Logging On: true in our initialization block:
========================================
AppLovin SDK
Version: 9.13.4
(...)
Verbose Logging On: true
(...)
========================================
You can then find our logs in logcat or XCode terminal starting with /AppLovinSdk: or [AppLovinSdk].
Native Android
Programmatically
Verbose logging can be enabled through a boolean flag as part of the settings object of the SDK. The following code snippet is valid for both Java and Kotlin integrations.
AppLovinSdk.getInstance( context ).getSettings().setVerboseLogging( true );
Android Manifest
Verbose logging can also be enabled through your application's Android Manifest file.
<application>
...
<meta-data
android:name="applovin.sdk.verbose_logging"
android:value="true" />
...
</application>
Native iOS
Programmatically
Verbose logging can be enabled through a boolean flag as part of the settings object of the SDK. The following are code snippets for Swift and Objective-C.
Swift
ALSdk.shared()!.settings.isVerboseLogging = true
Objective-C
[ALSdk shared].settings.isVerboseLogging = YES;
Info.plist
Verbose logging can also be enabled through your application's Info.plist file.
Unity (MAX Plugin)
If you are on the AppLovin MAX Unity Plugin, verbose logging can be toggled directly on the MaxSdk class.
MaxSdk.SetVerboseLogging(true);
Unity (AppLovin Plugin)
If you are on the AppLovin network Unity Plugin, verbose logging can be toggled directly on the AppLovin class.
AppLovin.SetVerboseLoggingOn("true");