perl-log-any 1.707 Bringing loggers and listeners together
Log::Any
provides a standard log production API for modules. Log::Any::Adapter
allows applications to choose the mechanism for log consumption, whether screen, file or another logging mechanism like Log::Dispatch
or Log::Log4perl
.
A CPAN module uses Log::Any
to get a log producer object. An application, in turn, may choose one or more logging mechanisms via Log::Any::Adapter
, or none at all.
Log::Any
has a very tiny footprint and no dependencies beyond Perl itself, which makes it appropriate for even small CPAN modules to use. It defaults to null
logging activity, so a module can safely log without worrying about whether the application has chosen (or will ever choose) a logging mechanism.
- Website: https://metacpan.org/release/Log-Any
- License: GPL 1+
- Package source: perl.scm
- Patches: None
- Builds: x86_64-linux, i686-linux