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

Download:
Log-Dispatch-2.41.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  7
Open  4
View/Report Bugs
Module Version: 2.41   Source   Latest Release: Log-Dispatch-2.42

NAME ^

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

VERSION ^

version 2.41

SYNOPSIS ^

  use Log::Dispatch;

  my $null
      = Log::Dispatch->new( outputs => [ [ 'Null', min_level => 'debug' ] ] );

  $null->emerg( "I've fallen and I can't get up" );

DESCRIPTION ^

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

AUTHOR ^

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2013 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
syntax highlighting: