emit

abstract fun emit(log: JsonObject)

Emits a log to its destination.

This method is called by the PureeLogger when a log needs to be sent to this output. Implementations should handle the actual delivery of the log to its final destination, such as writing to a file, sending to a network service, or displaying in a console.

Parameters

log

The log in JSON format, ready for output processing