File Coverage

blib/lib/Log/Log4perl/JavaMap/TestBuffer.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 0 1 0.0
total 20 21 95.2


line stmt bran cond sub pod time code
1              
2             use Carp;
3 1     1   8 use strict;
  1         2  
  1         83  
4 1     1   6 use Log::Log4perl::Appender::TestBuffer;
  1         2  
  1         22  
5 1     1   5  
  1         2  
  1         38  
6             use constant _INTERNAL_DEBUG => 0;
7 1     1   6  
  1         2  
  1         150  
8             my ($class, $appender_name, $data) = @_;
9             my $stderr;
10 4     4 0 9  
11 4         6 return Log::Log4perl::Appender->new("Log::Log4perl::Appender::TestBuffer",
12             name => $appender_name);
13 4         14 }
14              
15             1;
16              
17             =encoding utf8
18              
19             =head1 NAME
20              
21             Log::Log4perl::JavaMap::TestBuffer - wraps Log::Log4perl::Appender::TestBuffer
22              
23             =head1 SYNOPSIS
24              
25             =head1 DESCRIPTION
26              
27             Just for testing the Java mapping.
28              
29             =head1 SEE ALSO
30              
31             http://jakarta.apache.org/log4j/docs/
32              
33             Log::Log4perl::Javamap
34              
35             Log::Dispatch::Screen
36              
37             =head1 LICENSE
38              
39             Copyright 2002-2013 by Mike Schilli E<lt>m@perlmeister.comE<gt>
40             and Kevin Goess E<lt>cpan@goess.orgE<gt>.
41              
42             This library is free software; you can redistribute it and/or modify
43             it under the same terms as Perl itself.
44              
45             =head1 AUTHOR
46              
47             Please contribute patches to the project on Github:
48              
49             http://github.com/mschilli/log4perl
50              
51             Send bug reports or requests for enhancements to the authors via our
52              
53             MAILING LIST (questions, bug reports, suggestions/patches):
54             log4perl-devel@lists.sourceforge.net
55              
56             Authors (please contact them via the list above, not directly):
57             Mike Schilli <m@perlmeister.com>,
58             Kevin Goess <cpan@goess.org>
59              
60             Contributors (in alphabetical order):
61             Ateeq Altaf, Cory Bennett, Jens Berthold, Jeremy Bopp, Hutton
62             Davidson, Chris R. Donnelly, Matisse Enzer, Hugh Esco, Anthony
63             Foiani, James FitzGibbon, Carl Franks, Dennis Gregorovic, Andy
64             Grundman, Paul Harrington, Alexander Hartmaier David Hull,
65             Robert Jacobson, Jason Kohles, Jeff Macdonald, Markus Peter,
66             Brett Rann, Peter Rabbitson, Erik Selberg, Aaron Straup Cope,
67             Lars Thegler, David Viner, Mac Yang.
68