diff --git a/docs/error-reporting/platform-integrations/android/configuration.md b/docs/error-reporting/platform-integrations/android/configuration.md index 1b8fb683e0..7774e5e125 100644 --- a/docs/error-reporting/platform-integrations/android/configuration.md +++ b/docs/error-reporting/platform-integrations/android/configuration.md @@ -383,6 +383,14 @@ To enable displaying logs from inside the library, set the level from which info BacktraceLogger.setLevel(LogLevel.DEBUG); ``` +You can replace internal BacktraceLogger with your custom implementation using code below. + +```java +BacktraceLogger.setLogger(customLoggerInstance); +``` + +Your custom logger implementation has to implement [Logger](https://github.com/backtrace-labs/backtrace-android/blob/master/backtrace-library/src/main/java/backtraceio/library/logger/Logger.java) interface. + ## Monitoring Custom Threads The backtrace-android library provides structures and methods to monitor the blocking of your own threads.