1Log::Dispatch::Handle(3U)ser Contributed Perl DocumentatiLoong::Dispatch::Handle(3)
2
3
4

NAME

6       Log::Dispatch::Handle - Object for logging to IO::Handle classes
7

VERSION

9       version 2.69
10

SYNOPSIS

12         use Log::Dispatch;
13
14         my $log = Log::Dispatch->new(
15             outputs => [
16                 [
17                     'Handle',
18                     min_level => 'emerg',
19                     handle    => $io_socket_object,
20                 ],
21             ]
22         );
23
24         $log->emerg('I am the Lizard King!');
25

DESCRIPTION

27       This module supplies a very simple object for logging to some sort of
28       handle object. Basically, anything that implements a "print()" method
29       can be passed the object constructor and it should work.
30

CONSTRUCTOR

32       The constructor takes the following parameters in addition to the
33       standard parameters documented in Log::Dispatch::Output:
34
35       ยท   handle ($)
36
37           The handle object. This object must implement a "print()" method.
38

SUPPORT

40       Bugs may be submitted at
41       <https://github.com/houseabsolute/Log-Dispatch/issues>.
42
43       I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
44

SOURCE

46       The source code repository for Log-Dispatch can be found at
47       <https://github.com/houseabsolute/Log-Dispatch>.
48

AUTHOR

50       Dave Rolsky <autarch@urth.org>
51
53       This software is Copyright (c) 2019 by Dave Rolsky.
54
55       This is free software, licensed under:
56
57         The Artistic License 2.0 (GPL Compatible)
58
59       The full text of the license can be found in the LICENSE file included
60       with this distribution.
61
62
63
64perl v5.30.1                      2020-01-30          Log::Dispatch::Handle(3)
Impressum