LoggerConfiguration

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

Constructors

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

Properties

Link copied to clipboard
var callback: (priority: Int, tag: String?, message: String, t: Throwable?) -> Unit?

log callback function (priority: Int, tag: String?, message: String, t: Throwable?) -> Unit

Link copied to clipboard

threshold level to call the callback function

Link copied to clipboard
var logDir: File?

local directory to store logs

Link copied to clipboard

threshold level to record logs on file and logcat