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.70
10
12 use Log::Dispatch;
13
14 my $null
15 = Log::Dispatch->new( outputs => [ [ 'Null', min_level => 'debug' ] ] );
16
17 $null->emerg( "I've fallen and I can't get up" );
18
20 This class provides a null logging object. Messages can be sent to the
21 object but it does nothing with them.
22
24 Bugs may be submitted at
25 <https://github.com/houseabsolute/Log-Dispatch/issues>.
26
27 I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
28
30 The source code repository for Log-Dispatch can be found at
31 <https://github.com/houseabsolute/Log-Dispatch>.
32
34 Dave Rolsky <autarch@urth.org>
35
37 This software is Copyright (c) 2020 by Dave Rolsky.
38
39 This is free software, licensed under:
40
41 The Artistic License 2.0 (GPL Compatible)
42
43 The full text of the license can be found in the LICENSE file included
44 with this distribution.
45
46
47
48perl v5.36.0 2023-01-20 Log::Dispatch::Null(3)