Logging

No special setup is required if you just need to retrieve standard logcat logs, Bugsee will extract the logs for the relevant period of time and upload it as part of the report. We provide an additional API to push logs directly into Bugsee without printing them into logcat.

!Java

// With default log level (normal)
Bugsee.log("Some log message");

// Set the log level explicitly
// Levels are BugseeLogLevel.Error, BugseeLogLevel.Warning,
// BugseeLogLevel.Info, BugseeLogLevel.Debug and BugseeLogLevel.Verbose
Bugsee.log("Some log message", BugseeLogLevel.Warning);

!Kotlin

// With default log level (normal)
Bugsee.log("Some log message")

// Set the log level explicitly
// Levels are BugseeLogLevel.Error, BugseeLogLevel.Warning,
// BugseeLogLevel.Info, BugseeLogLevel.Debug and BugseeLogLevel.Verbose
Bugsee.log("Some log message", BugseeLogLevel.Warning)