Logger

interface Logger

Functions

Link copied to clipboard
open fun a(category: LogCategory, message: () -> String)
Link copied to clipboard
open fun d(category: LogCategory, message: () -> String)
Link copied to clipboard
open fun e(category: LogCategory, message: () -> String)
open fun e(category: LogCategory, throwable: Throwable)
Link copied to clipboard
open fun i(category: LogCategory, message: () -> String)
Link copied to clipboard
abstract fun log(message: String, category: LogCategory, level: LogLevel)

Invoked whenever a new log entry is to be saved. Important: It is NOT safe to update the UI from this method as multiple threads may log.

Link copied to clipboard
open fun v(category: LogCategory, message: () -> String)
Link copied to clipboard
open fun w(category: LogCategory, message: () -> String)
open fun w(category: LogCategory, throwable: Throwable)