Log4perl/JavaMap/TestBuffer.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.4% 21 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Log4perl/FAQ.pm ↑ Summary
1 package Log::Log4perl::JavaMap::TestBuffer;
2  
3 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Log::Log4perl::Appender::TestBuffer;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use constant _INTERNAL_DEBUG => 0;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 4 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
10 4 my ($class, $appender_name, $data) = @_;
11 4 my $stderr;
12  
13 4 return Log::Log4perl::Appender->new("Log::Log4perl::Appender::TestBuffer",
14 name => $appender_name);
15 }
16  
17 1 1;
18  
19 =encoding utf8
20  
21 =head1 NAME
22  
23 Log::Log4perl::JavaMap::TestBuffer - wraps Log::Log4perl::Appender::TestBuffer
24  
25 =head1 SYNOPSIS
26  
27 =head1 DESCRIPTION
28  
29 Just for testing the Java mapping.
30  
31 =head1 SEE ALSO
32  
33 http://jakarta.apache.org/log4j/docs/
34  
35 Log::Log4perl::Javamap
36  
37 Log::Dispatch::Screen
38  
39 =head1 LICENSE
40  
41 Copyright 2002-2026 by Mike Schilli E<lt>m@perlmeister.comE<gt>
42 and Kevin Goess E<lt>cpan@goess.orgE<gt>.
43  
44 This library is free software; you can redistribute it and/or modify
45 it under the same terms as Perl itself.
« Log4perl/FAQ.pm ↑ Summary