line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Helios::LogEntry::Levels; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
1593
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
31
|
|
4
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
30
|
|
5
|
|
|
|
|
|
|
use constant { |
6
|
1
|
|
|
|
|
164
|
LOG_EMERG => 0, |
7
|
|
|
|
|
|
|
LOG_ALERT => 1, |
8
|
|
|
|
|
|
|
LOG_CRIT => 2, |
9
|
|
|
|
|
|
|
LOG_ERR => 3, |
10
|
|
|
|
|
|
|
LOG_WARNING => 4, |
11
|
|
|
|
|
|
|
LOG_NOTICE => 5, |
12
|
|
|
|
|
|
|
LOG_INFO => 6, |
13
|
|
|
|
|
|
|
LOG_DEBUG => 7, |
14
|
1
|
|
|
1
|
|
4
|
}; |
|
1
|
|
|
|
|
1
|
|
15
|
|
|
|
|
|
|
require Exporter; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = '2.20'; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
our @ISA = qw(Exporter); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
our %EXPORT_TAGS = ( 'all' => [ qw( |
22
|
|
|
|
|
|
|
LOG_EMERG LOG_ALERT LOG_CRIT LOG_ERR LOG_WARNING LOG_NOTICE LOG_INFO LOG_DEBUG |
23
|
|
|
|
|
|
|
) ] ); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
__END__ |