package Log::Any::Adapter::JSON;
our $VERSION = '1.16';
use strict;
use warnings;
use feature 'say';
use Carp qw/ croak confess /;
use Cpanel::JSON::XS;
use Path::Tiny;
use Time::Moment;
use strict
ush ( @{ $log_entry{additional_messages} }, $item);
}
}
my $serializer = Cpanel::JSON::XS->new
->utf8(0)
->pr
::Adapter::JSON - One-line JSON logging of arbitrary structured data
=head1 SYNOPSIS
Get a logger and specify the output destination:
use Log::Any '$log';
use Log::Any::Adapter ('JSON', '/path/