Log::Agent::Driver::Silent - silent logging driver for Log::Agent |
Log::Agent::Driver::Silent - silent logging driver for Log::Agent
use Log::Agent; require Log::Agent::Driver::Silent;
my $driver = Log::Agent::Driver::Silent->make(); logconfig(-driver => $driver);
The silent logging driver remaps most of the logxxx()
operations to NOPs.
Only logconfess()
and logdie()
respectively call Carp::confess() and die().
All the channels go to /dev/null, so to speak.
Raphael Manfredi <Raphael_Manfredi@pobox.com>
Log::Agent::Driver(3), Log::Agent(3).
Log::Agent::Driver::Silent - silent logging driver for Log::Agent |