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