Log::Dispatchouli::Proxy - a simple wrapper around Log::Dispatch
version 3.007
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 (to the 'debug' logging level) to prevent parent loggers from dropping them due to debug setting differences
log_debug
log
debug
This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.
Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.
Ricardo SIGNES <cpan@semiotic.systems>
This software is copyright (c) 2023 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.