RWDE/Logging.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 28 CC 1 SCAR 6.9
CC
1
Cov
0%
syslog_msg
2.0
debug_info
2.0
is_debug
2.0
CRAP 2.0
1 package RWDE::Logging;
2  
3 use strict;
4 use warnings;
5  
6 use RWDE::Logger;
7  
8 use vars qw($VERSION);
9 $VERSION = sprintf "%d", q$Revision: 507 $ =~ /(\d+)/;
10  
11 =pod
12  
13 =head1 RWDE::Logging
14  
15 =cut
16  
17 =head2 syslog_msg()
18  
19 =cut
20  
21 sub syslog_msg {
22 my ($self, $type, $info) = @_;
23
24 return RWDE::Logger->syslog_msg($type, $info);
25 }
26  
27 =head2 debug_info()
28  
29 =cut
30  
31 sub debug_info {
32 my ($self, $type, $info) = @_;
33  
34 return RWDE::Logger->debug_info($type, $info);
35 }
36  
37 =head2 is_debug()
38  
39 =cut
40  
41 sub is_debug {
42 return RWDE::Logger->is_debug;
43 }
44  
45  
46 1;