Log::Dispatchouli::Proxy - a simple wrapper around Log::Dispatch
A Log::Dispatchouli::Proxy object is the child of a Log::Dispatchouli logger (or
another proxy) and relays log messages to its parent. It behaves almost
identically to a Log::Dispatchouli logger, and you should refer there for more
of its documentation.
Here are the differences:
- You can't create a proxy with
"->new", only by calling
"->proxy" on an existing logger or
proxy.
- "set_debug" will set a value for the
proxy; if none is set, "get_debug" will
check the parent's setting;
"clear_debug" will clear any set value
on this proxy
- "log_debug" messages will be
redispatched to "log" (bug to the
'debug' logging level) to prevent parent loggers from dropping them due to
"debug" setting differences
Ricardo SIGNES <rjbs@cpan.org>
This software is copyright (c) 2014 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it
under the same terms as the Perl 5 programming language system itself.