fatal

open suspend fun fatal(event: Any?)

Emit a log event at FATAL level.

Parameters

event

a representation of the event


open suspend fun fatal(template: String, vararg values: Any?)

Emit a log event from a message template at FATAL level.

Parameters

values

values associated with holes in the message template


open suspend fun fatal(throwable: Throwable, event: Any?)

Emit a log event and associated throwable object at FATAL level.

Parameters

throwable

a throwable object associated with this event

event

a representation of the event


open suspend fun fatal(throwable: Throwable, template: String, vararg values: Any?)

Emit a log event from a message template and associated throwable object at FATAL level.

Parameters

throwable

a throwable object associated with this event

values

values associated with holes in the message template


open suspend fun fatal(event: suspend Klogger.() -> Any?)

Emit a log event from a lambda at FATAL level.

Parameters

event

lambda that returns a representation of the event


open suspend fun fatal(throwable: Throwable, event: suspend Klogger.() -> Any?)

Emit a log event from a lambda and associated throwable object at FATAL level.

Parameters

throwable

a throwable object associated with this event

event

lambda that returns a representation of the event


open suspend fun fatal(message: String, items: EventItems)

Emit a log event with a message and an explicit map of items at FATAL level.

Parameters

message

the message

items

a map of items to include in the log event


open suspend fun fatal(message: String, throwable: Throwable, items: EventItems)

Emit a log event with a message, associated throwable object and an explicit map of items at FATAL level.

Parameters

message

the message

throwable

a throwable object associated with this event

items

a map of items to include in the log event