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.27
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

AUTHOR

40       Dave Rolsky <autarch@urth.org>
41
43       This software is Copyright (c) 2010 by Dave Rolsky.
44
45       This is free software, licensed under:
46
47         The Artistic License 2.0
48
49
50
51perl v5.12.2                      2010-10-16          Log::Dispatch::Handle(3)
Impressum