blib/lib/Net/Fastly/Syslog.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Net/Fastly/Match.pm ↑ Summary
1 package Net::Fastly::Syslog;
2  
3 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 5 ▶use base qw(Net::Fastly::BelongsToServiceAndVersion);
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 5 Net::Fastly::Syslog->mk_accessors(qw(service_id name comment address ipv4 ipv6 hostname port format response_condition));
7  
8 =head1 NAME
9  
10 Net::Fastly::Syslog - Representation of an endpoint to stream syslogs to
11  
12 =head1 ACCESSORS
13  
14 =head2 service_id
15  
16 The id of the service this belongs to.
17  
18 =head2 version
19  
20 The number of the version this belongs to.
21  
22 =head2 name
23  
24 The name of this endpoint
25  
26 =head2 comment
27  
28 a free form comment field
29  
30 =head2 address
31  
32 A magic field - will automagically be set to whichever of ipv4, ipv6 or hostname is currently set.
33  
34 Conversely if you set the address field then the correct field from ipv4, ipv6 or hostname will be set.
35  
36 =head2 ipv4
37  
38 the ipv4 address of the host to stream logs to (this, hostname or ipv6 must be set)
39  
40 =head2 ipv6
41  
42 the ipv6 address of the host to stream logs to (this, hostname or ipv4 must be set)
43  
44 =head2 hostname
45  
46 the hostname to to stream logs to (this, ipv4 or ipv6 must be set)
47  
48 =head2 port
49  
50 the port to stream logs to (defaults to 514)
51  
52 =head2 format
53  
54 Format to log like in apache format
55  
56 =head2 response_condition
57  
58 name of a response_condition to filter the log on, if empty it always lgos
59  
60 =cut
61 5 1;
« blib/lib/Net/Fastly/Match.pm ↑ Summary