formatAsBytes

open fun formatAsBytes(event: E, charset: Charset): Array<Byte>

Formats the given log event to a byte array.

Return

the formatted log event bytes

Parameters

event

the log event to write

charset

the charset