Logger

open class Logger(config: LoggerConfig, val tag: String = "") : BaseLogger

The default Logger API. This class can be a local instance, or use the global companion syntax.

Inheritors

Constructors

Link copied to clipboard
constructor(config: LoggerConfig, tag: String = "")

Types

Link copied to clipboard
object Companion : Logger

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val tag: String

Functions

Link copied to clipboard
inline fun a(messageString: String, throwable: Throwable? = null, tag: String = this.tag)
inline fun a(throwable: Throwable? = null, tag: String = this.tag, message: () -> String)
Link copied to clipboard
inline fun d(messageString: String, throwable: Throwable? = null, tag: String = this.tag)
inline fun d(throwable: Throwable? = null, tag: String = this.tag, message: () -> String)
Link copied to clipboard
inline fun e(messageString: String, throwable: Throwable? = null, tag: String = this.tag)
inline fun e(throwable: Throwable? = null, tag: String = this.tag, message: () -> String)
Link copied to clipboard
inline fun i(messageString: String, throwable: Throwable? = null, tag: String = this.tag)
inline fun i(throwable: Throwable? = null, tag: String = this.tag, message: () -> String)
Link copied to clipboard
inline fun log(severity: Severity, tag: String, throwable: Throwable?, message: String)
Link copied to clipboard
inline fun logBlock(severity: Severity, tag: String, throwable: Throwable?, message: MessageBlock)
Link copied to clipboard
fun processLog(severity: Severity, tag: String, throwable: Throwable?, message: String)
Link copied to clipboard
inline fun v(messageString: String, throwable: Throwable? = null, tag: String = this.tag)
inline fun v(throwable: Throwable? = null, tag: String = this.tag, message: () -> String)
Link copied to clipboard
inline fun w(messageString: String, throwable: Throwable? = null, tag: String = this.tag)
inline fun w(throwable: Throwable? = null, tag: String = this.tag, message: () -> String)
Link copied to clipboard
fun withTag(tag: String): Logger