log

open fun log(level: Level, throwable: Throwable, event: Any?)
open fun log(level: Level, event: Any?)
open fun log(level: Level, throwable: Throwable, template: String, vararg values: Any?)
open fun log(level: Level, template: String, vararg values: Any?)
open fun log(level: Level, throwable: Throwable, event: NoCoLogger.() -> Any?)
open fun log(level: Level, event: NoCoLogger.() -> Any?)


open fun log(level: Level, message: String, items: EventItems)

Log an event with a message and an explicit set of items.

Parameters

level

level at which to log

message

message to include in the log event

items

items to include in the log event


open fun log(level: Level, throwable: Throwable, message: String, items: EventItems)

Log an event with an associated throwable, a message and an explicit set of items.

Parameters

level

level at which to log

throwable

throwable object associated with this log event

message

message to include in the log event

items

items to include in the log event