emitEvent

open suspend override fun emitEvent(level: Level, throwable: Throwable?, event: Any?, items: EventItems)

Emit an event to be dispatched and sent.

Parameters

level

logging level for the event

throwable

any Throwable associated with the event

event

something to emit: a LogEvent or other object

items

explicit items to include in this log event