rts sending simple string
messages, but it works way better when is provided with
L<Log::Message::JSON(3)> or L<Log::Message::Structured(3)> object, because the
structure of the message will be preser
es as messages. This option
tells how should be named key if the message is not
a L<Log::Message::JSON(3)>/L<Log::Message::Structured(3)> object.
=item I<hostname_field> (default: I<none>)
Fluentd o
RRAY' && @$msg == 1;
# repack message
if (eval { $msg->isa('Log::Message::JSON') }) {
# strip Log::Message::JSON blessing
# NOTE: the resulting hash(ref) should be tied to Tie::IxHash, bu