Logger

object Logger

A custom logger built on top of Timber, supporting log levels, file logging in a directory, test mode, and a callback for log events. This logger allows logging to the console, files, and optionally triggering a callback when a log exceeds a specified threshold.

Types

Link copied to clipboard
data class LoggerConfiguration(var logLevel: Logger.LogLevel, var callbackLogLevel: Logger.LogLevel, var logDir: File? = null, var callback: (priority: Int, tag: String?, message: String, t: Throwable?) -> Unit? = null)

Logger configuration class

Link copied to clipboard

Supported Log levels on this SDK