emitEvent

open override fun emitEvent(level: Level, throwable: Throwable?, event: Any?, contextItems: 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

contextItems

context items to include in the event