Skip to main content
The Gleap Android SDK collects console logs by default: the last 500 lines your app’s process wrote to Logcat (including System.out / System.err), with errors and warnings marked as such. Further more you can make use of our custom logs, which offer more control over the logs.
With SDK v19.0.0 and newer, the log levels are read correctly (older versions often showed errors as info), logs are collected on Android 5 and 6 as well, and a ticket no longer takes the custom logs away from the next one.
Long lines are cut at 1000 characters (5000 for errors) and marked … [truncated].

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. Custom logs are still sent.

Custom logs

Custom logs allow you to create logs in the Gleap activity log. There are three severity types available for logs: ERROR, WARNING and INFO.
By default logs will be created with the severity INFO. Use the following method to explicitly set the severity.
Gleap keeps the newest 500 custom logs.