PrintlnLogger

Alternative to ConsoleLogger that does not take advantage of extra available features.

Properties

Link copied to clipboard

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

Functions

Link copied to clipboard
open override 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
open override 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
open override 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
open override 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
open override 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
open override 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