Logger

Classes which implement Logger can write logs.

Inheritors

Properties

Link copied to clipboard

Minimum level for this logger. Defaults to LogLevel.Verbose (all logs) if not overwritten.

Functions

Link copied to clipboard
abstract fun assert(tag: String, message: String, metadata: ReadMetadata, throwable: Throwable?)

Log at assert-level. Do not store a reference to metadata, create a copy if you need to.

Link copied to clipboard
abstract fun debug(tag: String, message: String, metadata: ReadMetadata, throwable: Throwable?)

Log at debug-level. Do not store a reference to metadata, create a copy if you need to.

Link copied to clipboard
fun Logger.dynamic(level: LogLevel, tag: String, message: String, metadata: ReadMetadata, throwable: Throwable?)
Link copied to clipboard
abstract fun error(tag: String, message: String, metadata: ReadMetadata, throwable: Throwable?)

Log at error-level. Do not store a reference to metadata, create a copy if you need to.

Link copied to clipboard
abstract fun info(tag: String, message: String, metadata: ReadMetadata, throwable: Throwable?)

Log at info-level. Do not store a reference to metadata, create a copy if you need to.

Link copied to clipboard
Link copied to clipboard
abstract fun verbose(tag: String, message: String, metadata: ReadMetadata, throwable: Throwable?)

Log at verbose-level. Do not store a reference to metadata, create a copy if you need to.

Link copied to clipboard
abstract fun warn(tag: String, message: String, metadata: ReadMetadata, throwable: Throwable?)

Log at warn-level. Do not store a reference to metadata, create a copy if you need to.

Link copied to clipboard
Link copied to clipboard