> 'XAS::Base',
utils => ':validation dotid trim',
constants => 'HASHREF',
codec => 'JSON',
accessors => 'hm',
;
# ---------------------------------------------------------------------
formatter->format($data);
=head1 DESCRIPTION
This package will take a hash and format it into a json_event for
L<Logstash|https://www.elastic.co/products/logstash>.
=head1 METHODS
=head2 format($
mestamp field into a
UTC date while formatting the datetime field into a local date. It returns
a json_event string.
=over 4
=item B<$data>
The hash to format.
=back
=head1 SEE ALSO
=over 4
=it