line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Log::Saftpresse::CounterOutputs; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
4
|
use Moose; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
6
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# ABSTRACT: class to manage saftpresse counter output |
6
|
|
|
|
|
|
|
our $VERSION = '1.5'; # VERSION |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
extends 'Log::Saftpresse::PluginContainer'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has 'plugin_prefix' => ( is => 'ro', isa => 'Str', |
11
|
|
|
|
|
|
|
default => 'Log::Saftpresse::CountersOutput::', |
12
|
|
|
|
|
|
|
); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub output { |
15
|
0
|
|
|
0
|
0
|
|
my ( $self, @events ) = @_; |
16
|
|
|
|
|
|
|
|
17
|
0
|
|
|
|
|
|
foreach my $plugin ( @{$self->plugins} ) { |
|
0
|
|
|
|
|
|
|
18
|
0
|
|
|
|
|
|
$plugin->output( @events ); |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
0
|
|
|
|
|
|
return; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=pod |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=encoding UTF-8 |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 NAME |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Log::Saftpresse::CounterOutputs - class to manage saftpresse counter output |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 VERSION |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
version 1.5 |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 AUTHOR |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Markus Benning <ich@markusbenning.de> |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
This software is Copyright (c) 1998 by James S. Seymour, 2015 by Markus Benning. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
This is free software, licensed under: |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
The GNU General Public License, Version 2, June 1991 |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=cut |