emitEvent

abstract suspend fun emitEvent(level: Level, throwable: Throwable?, event: Any?, items: EventItems = mapOf())

Emit a log event and associated throwable object at the specified severity level.

Parameters

level

Level of the event

throwable

possible throwable object associated with the event

event

a representation of the event, if any

items

explicit items to include in this log event