Scroll to navigation

Log::Dispatch::Null(3pm) User Contributed Perl Documentation Log::Dispatch::Null(3pm)
 

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)
2014-10-18 perl v5.20.1