Dave Rolsky > Log-Dispatch-2.21 > Log::Dispatch::Null

Download:
Log-Dispatch-2.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  3
View Bugs
Report a bug
Source   Latest Release: Log-Dispatch-2.26

NAME ^

Log::Dispatch::File - Object that accepts messages and does nothing

SYNOPSIS ^

  use Log::Dispatch::Null;

  my $null = Log::Dispatch::Null->new( name      => 'null',
                                       min_level => 'info' );

  $null->log( level => 'emerg', message => "I've fallen and I can't get up\n" );

DESCRIPTION ^

This class provides a null logging object. Messages can be sent to the object but it does nothing with them.

METHODS ^

AUTHOR ^

Dave Rolsky, <autarch@urth.org>