Log::Dispatchouli::Proxy - a simple wrapper around Log::Dispatch
version 2.009
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.
->new
->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
set_debug
get_debug
clear_debug
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
log_debug
log
debug
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.
To install Log::Dispatchouli, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Dispatchouli
CPAN shell
perl -MCPAN -e shell install Log::Dispatchouli
For more information on module installation, please visit the detailed CPAN module installation guide.