Log::Agent::Driver::Silent.3pm

Langue: en

Autres versions - même langue

Version: 2002-03-09 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Log::Agent::Driver::Silent - silent logging driver for Log::Agent

SYNOPSIS

  use Log::Agent;
  require Log::Agent::Driver::Silent;
 
  my $driver = Log::Agent::Driver::Silent->make();
  logconfig(-driver => $driver);
 
 

DESCRIPTION

The silent logging driver remaps most of the logxxx() operations to NOPs. Only logconfess() and logdie() respectively call Carp::confess() and die().

CHANNELS

All the channels go to /dev/null, so to speak.

AUTHOR

Raphael Manfredi <Raphael_Manfredi@pobox.com>

SEE ALSO

Log::Agent::Driver(3), Log::Agent(3).