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

Download:
Log-Dispatch-2.44.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  4
Open  4
View/Report Bugs
Module Version: 2.44   Source  

NAME ^

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

VERSION ^

version 2.44

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) 2014 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
syntax highlighting: