1Log::Dispatch::Null(3)User Contributed Perl DocumentationLog::Dispatch::Null(3)
2
3
4
6 Log::Dispatch::Null - Object that accepts messages and does nothing
7
9 version 2.27
10
12 use Log::Dispatch;
13
14 my $null = Log::Dispatch->new( outputs => [ ['Null'] ] );
15
16 $null->emerg( "I've fallen and I can't get up" );
17
19 This class provides a null logging object. Messages can be sent to the
20 object but it does nothing with them.
21
23 Dave Rolsky <autarch@urth.org>
24
26 This software is Copyright (c) 2010 by Dave Rolsky.
27
28 This is free software, licensed under:
29
30 The Artistic License 2.0
31
32
33
34perl v5.12.2 2010-10-16 Log::Dispatch::Null(3)