NAME

Log::Any::Adapter::Dispatch - Adapter to use Log::Dispatch with Log::Any

VERSION

version 0.08

SYNOPSIS

use Log::Any::Adapter;

Log::Any::Adapter->set('Dispatch', outputs => [[ ... ]]);

my $dispatcher = Log::Dispatch->new( ... );
Log::Any::Adapter->set('Dispatch', dispatcher => $dispatcher);

DESCRIPTION

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.

SEE ALSO

Log::Any::Adapter, Log::Any, Log::Dispatch

AUTHORS

  • Jonathan Swartz <swartz@pobox.com>

  • Doug Bell <preaction@cpan.org>

CONTRIBUTOR

Jens Rehsack <sno@netbsd.org>

COPYRIGHT AND LICENSE

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.