ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent/Log.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent/Log.pm (file contents):
Revision 1.61 by root, Wed Jul 31 00:03:00 2013 UTC vs.
Revision 1.62 by root, Sat Sep 28 11:12:56 2013 UTC

71 71
72 use AnyEvent::Log; 72 use AnyEvent::Log;
73 $AnyEvent::Log::FILTER->level ("info"); 73 $AnyEvent::Log::FILTER->level ("info");
74 74
75The design goal behind this module was to keep it simple (and small), 75The design goal behind this module was to keep it simple (and small),
76but make it powerful enough to be potentially useful for any module, and 76but make it powerful enough to be potentially useful for any module,
77extensive enough for the most common tasks, such as logging to multiple 77and extensive enough for the most common tasks, such as logging to
78targets, or being able to log into a database. 78multiple targets, or being able to log into a database.
79 79
80The module is also usable before AnyEvent itself is initialised, in which 80The module is also usable before AnyEvent itself is initialised, in which
81case some of the functionality might be reduced. 81case some of the functionality might be reduced.
82 82
83The amount of documentation might indicate otherwise, but the runtime part 83The amount of documentation might indicate otherwise, but the runtime part
1496assumes the log level for AnyEvent::Debug hasn't been changed from the 1496assumes the log level for AnyEvent::Debug hasn't been changed from the
1497default. 1497default.
1498 1498
1499=back 1499=back
1500 1500
1501=head1 ASYNCHRONOUS DISK I/O
1502
1503This module uses L<AnyEvent::IO> to actually write log messages (in
1504C<log_to_file> and C<log_to_path>), so it doesn't block your program when
1505the disk is busy and a non-blocking L<AnyEvent::IO> backend is available.
1506
1501=head1 AUTHOR 1507=head1 AUTHOR
1502 1508
1503 Marc Lehmann <schmorp@schmorp.de> 1509 Marc Lehmann <schmorp@schmorp.de>
1504 http://anyevent.schmorp.de 1510 http://anyevent.schmorp.de
1505 1511

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines