Log::Any::Adapter::Multiplex(3pUser Contributed Perl DocumentatiLog::Any::Adapter::Multiplex(3pm)
NAME
Log::Any::Adapter::Multiplex - Adapter to use allow structured logging across other
adapters
VERSION
version 1.710
SYNOPSIS
Log::Any::Adapter->set(
'Multiplex',
adapters => {
'Stdout' => [],
'Stderr' => [ log_level => 'warn' ],
...
$adapter => \@adapter_args
},
);
DESCRIPTION
This built-in Log::Any adapter provides a simple means of routing logs to multiple other
Log::Any::Adapters.
Adapters receiving messages from this adapter can behave just like they are the only
recipient of the log message. That means they can, for example, use "Structured logging"
in Log::Any::Adapter::Development (or not).
"adapters" is a hashref whose keys should be adapters, and whose values are the arguments
to pass those adapters on initialization.
Note that this differs from other loggers like Log::Dispatch, which will only provide its
output modules a single string $message, and not the full "Log context data" in Log::Any.
SEE ALSO
Log::Any, Log::Any::Adapter
AUTHORS
o Jonathan Swartz <swartz AT pobox.com>
o David Golden <dagolden AT cpan.org>
o Doug Bell <preaction AT cpan.org>
o Daniel Pittman <daniel AT rimspace.net>
o Stephen Thirlwall <sdt AT cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Jonathan Swartz, David Golden, 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.
perl v5.32.1 2021-09-27 Log::Any::Adapter::Multiplex(3pm)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2026-01-11 00:56 @216.73.216.127 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)