info

open suspend fun info(event: Any?)

Emit a log event at INFO level.

Parameters

event

a representation of the event


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

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

Parameters

values

values associated with holes in the message template


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

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

Parameters

throwable

a throwable object associated with this event

event

a representation of the event


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

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

Parameters

throwable

a throwable object associated with this event

values

values associated with holes in the message template


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

Emit a log event from a lambda at INFO level.

Parameters

event

lambda that returns a representation of the event


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

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

Parameters

throwable

a throwable object associated with this event

event

lambda that returns a representation of the event


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

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

Parameters

message

the message

items

a map of items to include in the log event


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

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

Parameters

message

the message

throwable

a throwable object associated with this event

items

a map of items to include in the log event