Log::Dispatch::Null - Object that accepts messages and does nothing
use Log::Dispatch; my $null = Log::Dispatch->new( outputs => [ [ 'Null', min_level => 'debug' ] ] ); $null->emerg( "I've fallen and I can't get up" );
This class provides a null logging object. Messages can be sent to the object but it does nothing with them.
Dave Rolsky <email@example.com>
This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)