Logger

class Logger(tag: Logger.Tag, frontEnds: Collection<LogFrontend>, filters: List<LogFilter>, mappers: List<LogMapper>)

Types

Companion
Link copied to clipboard
common
object Companion
Entry
Link copied to clipboard
common
data class Entry(level: Logger.Level, ex: Throwable?, meta: Map<String, Any>, instant: Instant)
Level
Link copied to clipboard
common
enum Level : Enum<Logger.Level>
Tag
Link copied to clipboard
common
data class Tag(pkg: String, name: String)

Functions

debug
Link copied to clipboard
common
inline fun debug(msgCreator: () -> String)
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
error
Link copied to clipboard
common
inline fun error(ex: Throwable)
inline fun error(ex: Throwable? = null, msgCreator: () -> String)
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
info
Link copied to clipboard
common
inline fun info(msgCreator: () -> String)
log
Link copied to clipboard
common
inline fun log(level: Logger.Level, error: Throwable? = null, meta: Map<String, Any> = emptyMap(), msgCreator: () -> String? = { null })
toString
Link copied to clipboard
common
open fun toString(): String
warning
Link copied to clipboard
common
inline fun warning(ex: Throwable)
inline fun warning(ex: Throwable? = null, msgCreator: () -> String)