Log::Dispatchouli::Proxy.3pm

Langue: en

Autres versions - même langue

Version: 2010-03-13 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

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

VERSION

version 1.100712

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

AUTHOR

   Ricardo SIGNES <rjbs@cpan.org>
 
 
This software is copyright (c) 2010 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.