Debugging: How to debug the CMP SDK
Logging
When using our Android SDK, you may need to debug or analyze log information for various purposes. The logs generated by our SDK are tagged with "CMP", or with the package name net.consentmanager
, which allows you to easily filter and view only the relevant logs. This guide provides step-by-step instructions on how to access these logs.
Android
Search for the Tag: In the search bar above the log statements of Logcat in Android Studio, type CMP
to filter out the logs tagged with "CMP".
iOS
The logs generated by our SDK are tagged under "CMP", allowing you to easily filter and view only the relevant logs. This guide provides step-by-step instructions on how to access these logs in Xcode.
Search for the Tag
In Xcode's debug console, you can search for logs specifically tagged with "CMP" to isolate the logs generated by our SDK.
Reporting
If you want to report a bug or if you have a question about a behaviour, please share also the debug logs. Just copy the log entries from the Console log and send it to us as attached file.