Gungho/Log/Simple.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 25 CC 2 SCAR 12.8
CC
2
Cov
0%
new
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.6
1 # $Id: /mirror/gungho/lib/Gungho/Log/Simple.pm 4214 2007-10-29T04:36:39.100346Z lestrrat $
2 #
3 # Copyright (c) 2007 Daisuke Maki <daisuke@endeworks.jp>
4 # All rights reserved.
5  
6 package Gungho::Log::Simple;
7 use strict;
8 use warnings;
9 use base qw(Gungho::Log::Dispatch);
10  
11 sub new
12 {
13 my $self = shift;
14 my %args = @_;
15 my $config = $args{config};
16 if (ref $config->{logs} ne 'HASH') {
17 $config->{logs} = {};
18 }
19  
20 $config->{logs}{module} = 'Screen';
21 $config->{logs}{name} = 'simple';
22 $self->next::method(%args);
23 }
24  
25 1;
26  
27 __END__