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 <[email protected]>
Log::Agent::Driver\|(3), Log::Agent\|(3).