Message::Passing::Output::Log::Any::Adapter is a Perl module that uses Log::Any Adapter to offer a flexible output, which can use Log::Dispatch or Log::Log4perl to forward the messages.
SYNOPSIS
use Message::Passing::Output::Log::Any::Adapter;
my $logger = Message::Passing::Output::Log::Any::Adapter->new(
adapter_name => 'File',
adapter_params => [ '/var/log/foo.log' ],
);
$logger->consume( 'message' );
# or directly on the command line:
# message-pass --input STDIN --output Log::Any::Adapter --output_options \
# '{"adapter_name":"File","adapter_params":["/var/log/foo.log"]}'
Product's homepage
Requirements:
· Perl