NAME

Log::Dispatchouli::Proxy - a simple wrapper around Log::Dispatch

VERSION

version 3.007

DESCRIPTION

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 (to the 'debug' logging level) to prevent parent loggers from dropping them due to debug setting differences

PERL VERSION

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.

AUTHOR

Ricardo SIGNES <cpan@semiotic.systems>

COPYRIGHT AND LICENSE

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.