DOKK / manpages / debian 12 / liblog-any-adapter-dispatch-perl / Log::Any::Adapter::Dispatch.3pm.en
Log::Any::Adapter::Dispatch(3pm) User Contributed Perl Documentation Log::Any::Adapter::Dispatch(3pm)

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::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.

2022-06-15 perl v5.34.0