formatAsBytes
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
Formats the given log event to a byte array.
the formatted log event bytes
the log event to write
the charset