Dependency of nagios-plugins-nwc-health-8.0-1.1.src.rpm
Name: perl-Log-Contextual
Project: openSUSE_13.2
Repository: oss
Title: Simple logging interface with a contextual log
Description:
Major benefits:
* * Efficient
The logging functions take blocks, so if a log level is disabled, the
block will not run:
log_debug { "the new count in the database is " . $rs->count };
Similarly, the 'D' prefixed methods only 'Dumper' the input if the level
is enabled.
* * Handy
The logging functions return their arguments, so you can stick them in
the middle of expressions:
for (log_debug { "downloading:\n" . join qq(\n), @_ } @urls) { ... }
* * Generic
'Log::Contextual' is an interface for all major loggers. If you log
through 'Log::Contextual' you will be able to swap underlying loggers
later.
* * Powerful
'Log::Contextual' chooses which logger to use based on /LOGGER CODEREF.
Normally you don't need to know this, but you can take advantage of it
when you need to later
* * Scalable
If you just want to add logging to your extremely basic application,
start with the Log::Contextual::SimpleLogger manpage and then as your
needs grow you can switch to the Log::Dispatchouli manpage or the
Log::Dispatch manpage or the Log::Log4perl manpage or whatever else.
This module is a simple interface to extensible logging. It exists to
abstract your logging interface so that logging is as painless as possible,
while still allowing you to switch from one logger to another.
It is bundled with a really basic logger, the Log::Contextual::SimpleLogger
manpage, but in general you should use a real logger instead of that. For
something more serious but not overly complicated, try the
Log::Dispatchouli manpage (see the /SYNOPSIS manpage for example.)
Version: 0.006003
Release: 2.1.3
Architecture: noarch
Size: 61 KB
Build Time: 2014-10-06 18:05:49 +0200 (over 9 years ago)
Provides
Symbol | Required by |
---|---|
perl(Log::Contextual) = 0.0... | perl-DBIx-Class-DeploymentHandler |
perl(Log::Contextual::Easy:... | |
perl(Log::Contextual::Easy:... | |
perl(Log::Contextual::Role:... | |
perl(Log::Contextual::Role:... | |
perl(Log::Contextual::Role:... | |
perl(Log::Contextual::Route... | |
perl(Log::Contextual::Simpl... | |
perl(Log::Contextual::TeeLo... | |
perl(Log::Contextual::WarnL... | |
perl-Log-Contextual = 0.006... |
Requires
Symbol | Provided by |
---|---|
perl(:MODULE_COMPAT_5.20.1) | perl |
perl(Data::Dumper::Concise) | perl-Data-Dumper-Concise |
perl(Exporter::Declare) >= ... | perl-Exporter-Declare |
perl(Moo) >= 1.003 | perl-Moo |