File Coverage

blib/lib/Dancer2/Logger/Null.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             # ABSTRACT: Blackhole-like silent logging engine for Dancer2
2             $Dancer2::Logger::Null::VERSION = '0.400000';
3             use Moo;
4 1     1   405 with 'Dancer2::Core::Role::Logger';
  1         2  
  1         6  
5              
6              
7             1;
8              
9              
10             =pod
11              
12             =encoding UTF-8
13              
14             =head1 NAME
15              
16             Dancer2::Logger::Null - Blackhole-like silent logging engine for Dancer2
17              
18             =head1 VERSION
19              
20             version 0.400000
21              
22             =head1 DESCRIPTION
23              
24             This logger acts as a blackhole (or /dev/null, if you will) that discards all
25             the log messages instead of displaying them anywhere.
26              
27             =head1 METHODS
28              
29             =head2 log
30              
31             Discards the message.
32              
33             =head1 AUTHOR
34              
35             Dancer Core Developers
36              
37             =head1 COPYRIGHT AND LICENSE
38              
39             This software is copyright (c) 2022 by Alexis Sukrieh.
40              
41             This is free software; you can redistribute it and/or modify it under
42             the same terms as the Perl 5 programming language system itself.
43              
44             =cut