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.53 by root, Tue Mar 27 16:21:11 2012 UTC vs.
Revision 1.54 by root, Tue Mar 27 23:47:57 2012 UTC

6 6
7Simple uses: 7Simple uses:
8 8
9 use AnyEvent; 9 use AnyEvent;
10 10
11 AE::log fatal => "no config found, cannot continue"; # never returns 11 AE::log fatal => "No config found, cannot continue!"; # never returns
12 AE::log alert => "the battery died"; 12 AE::log alert => "The battery died!";
13 AE::log crit => "the battery temperature is too hot"; 13 AE::log crit => "The battery temperature is too hot!";
14 AE::log error => "division by zero attempted"; 14 AE::log error => "Division by zero attempted.";
15 AE::log warn => "couldn't delete the file"; 15 AE::log warn => "Couldn't delete the file.";
16 AE::log note => "wanted to create config, but config already exists"; 16 AE::log note => "Wanted to create config, but config already exists.";
17 AE::log info => "file soandso successfully deleted"; 17 AE::log info => "File soandso successfully deleted.";
18 AE::log debug => "the function returned 3"; 18 AE::log debug => "the function returned 3";
19 AE::log trace => "going to call function abc"; 19 AE::log trace => "going to call function abc";
20 20
21Log level overview: 21Log level overview:
22 22

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines