Log::Any::Adapter::Dispatch - Adapter to use Log::Dispatch with Log::Any
version 0.08
use Log::Any::Adapter; Log::Any::Adapter->set('Dispatch', outputs => [[ ... ]]); my $dispatcher = Log::Dispatch->new( ... ); Log::Any::Adapter->set('Dispatch', dispatcher => $dispatcher);
This Log::Any adapter uses Log::Dispatch for logging.
You may either pass parameters (like outputs) to be passed to Log::Dispatch->new, or pass a Log::Dispatch object directly in the dispatcher parameter.
Log::Dispatch->new
Log::Dispatch
Log::Any::Adapter, Log::Any, Log::Dispatch
Jonathan Swartz <swartz@pobox.com>
Doug Bell <preaction@cpan.org>
Jens Rehsack <sno@netbsd.org>
This software is copyright (c) 2017 by Jonathan Swartz and Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Log::Any::Adapter::Dispatch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Any::Adapter::Dispatch
CPAN shell
perl -MCPAN -e shell install Log::Any::Adapter::Dispatch
For more information on module installation, please visit the detailed CPAN module installation guide.