Logging
Last updated
Last updated
The Didomi SDK on Android will log various informational and error messages. We use the standard android.util.Log mechanism to log messages.
Messages logged by the SDK use the tag Didomi
to indicate their origin.
Example:
We use the standard log levels supported by android.util.Log: DEBUG
, ERROR
, INFO
, VERBOSE
, and WARN
.
You can decide what level of messages should be logged by the SDK by calling the setLogLevel
function before initialize
Make sure that the call to setLogLevel
is done before the call to initialize
or some messages will be logged at the wrong level.