Log::Dispatch::Null − Object that accepts messages and does nothing
version 2.71
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.
Bugs may be submitted at <https://github.com/houseabsolute/Log−Dispatch/issues>.
The source code repository for Log-Dispatch can be found at <https://github.com/houseabsolute/Log−Dispatch>.
Dave Rolsky <[email protected]>
This software is Copyright (c) 2023 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
The full text of the license can be found in the LICENSE file included with this distribution.