📖 Console logs
The Gleap Android SDK collects console logs by default. Further more you can make use of our custom logs, which offer more control over the logs.
Disable default console logs
It is possible to disable the default collection of console logs by calling the following method prior to the initialization of Gleap.
Gleap.getInstance().disableConsoleLog();
Custom logs
Custom logs allow you to create logs in the Gleap activity log. There are three severnity types available for logs: ERROR
, WARNING
and INFO
.
Gleap.getInstance().log("This is a test log.");
By default logs will be created with the severnity INFO
. Use the following method to explicitly set the severnity.
Gleap.getInstance().log("This is a test error.", GleapLogLevel.ERROR);