DOKK / manpages / debian 12 / liblog-agent-perl / Log::Agent::Driver::Silent.3pm.en
Agent::Driver::Silent(3pm) User Contributed Perl Documentation Agent::Driver::Silent(3pm)

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).

2022-10-15 perl v5.34.0