Group :: Development/Perl
RPM: perl-Log-ger
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Current version: 0.040-alt1
Build date: 10 june 2022, 08:06 ( 99.1 weeks ago )
Size: 40.99 Kb
Home page: https://metacpan.org/release/Log-ger
License: perl
Summary: A lightweight, flexible logging framework
Description:
List of contributors List of rpms provided by this srpm:
ACL:
Build date: 10 june 2022, 08:06 ( 99.1 weeks ago )
Size: 40.99 Kb
Home page: https://metacpan.org/release/Log-ger
License: perl
Summary: A lightweight, flexible logging framework
Description:
Log::ger is yet another logging framework with the following features:
=over
=item * Separation of producers and consumers/listeners
Like the Log::Any manpage, this offers a very easy way for modules to produce some logs
without having to configure anything. Configuring output, level, etc can be done
in the application as log consumers/listeners. To read more about this, see the
documentation of the Log::Any manpage or the Log::ger::Manual manpage (but nevertheless see
the Log::ger::Manual manpage on why you might prefer Log::ger to Log::Any).
=item * Lightweight and fast
Slim distribution. No non-core dependencies, extra functionalities are
provided in separate distributions to be pulled as needed.
Low startup overhead. Only ~0.5-1ms. For comparison, the strict manpage ~0.2-0.5ms,
the warnings manpage ~2ms, the Log::Any manpage 0.15 ~2-3ms, Log::Any 1.049 ~8-10ms,
the Log::Log4perl manpage ~35ms. This is measured on a 2014-2015 PC and before doing any
output configuration. For more benchmarks, see the Bencher::Scenarios::LogGer manpage or
try yourself e.g. with the bencher-code manpage:
% bencher-code 'use Log::ger' 'use Log::Any' --startup
Fast. Low null-/stealth-logging overhead, about 1.5x faster than Log::Any, 3x
faster than Log4perl, and 5x faster than the Log::Fast manpage.
Conditional compilation. There is a plugin to optimize away unneeded logging
statements, like assertion/conditional compilation, so they have zero runtime
performance cost. See the Log::ger::Plugin::OptAway manpage.
Being lightweight means the module can be used more universally, from CLI to
long-running daemons to inside routines with tight loops.
=item * Flexible
Customizable levels and routine/method names. Can be used in a procedural or
OO style. Log::ger can mimic the interface of the Log::Any manpage, the Log::Contextual manpage,
the Log::Log4perl manpage, or some other popular logging frameworks, to ease migration or
adjust with your personal style.
Per-package settings. Each importer package can use its own...
Current maintainer: Igor Vlasenko =over
=item * Separation of producers and consumers/listeners
Like the Log::Any manpage, this offers a very easy way for modules to produce some logs
without having to configure anything. Configuring output, level, etc can be done
in the application as log consumers/listeners. To read more about this, see the
documentation of the Log::Any manpage or the Log::ger::Manual manpage (but nevertheless see
the Log::ger::Manual manpage on why you might prefer Log::ger to Log::Any).
=item * Lightweight and fast
Slim distribution. No non-core dependencies, extra functionalities are
provided in separate distributions to be pulled as needed.
Low startup overhead. Only ~0.5-1ms. For comparison, the strict manpage ~0.2-0.5ms,
the warnings manpage ~2ms, the Log::Any manpage 0.15 ~2-3ms, Log::Any 1.049 ~8-10ms,
the Log::Log4perl manpage ~35ms. This is measured on a 2014-2015 PC and before doing any
output configuration. For more benchmarks, see the Bencher::Scenarios::LogGer manpage or
try yourself e.g. with the bencher-code manpage:
% bencher-code 'use Log::ger' 'use Log::Any' --startup
Fast. Low null-/stealth-logging overhead, about 1.5x faster than Log::Any, 3x
faster than Log4perl, and 5x faster than the Log::Fast manpage.
Conditional compilation. There is a plugin to optimize away unneeded logging
statements, like assertion/conditional compilation, so they have zero runtime
performance cost. See the Log::ger::Plugin::OptAway manpage.
Being lightweight means the module can be used more universally, from CLI to
long-running daemons to inside routines with tight loops.
=item * Flexible
Customizable levels and routine/method names. Can be used in a procedural or
OO style. Log::ger can mimic the interface of the Log::Any manpage, the Log::Contextual manpage,
the Log::Log4perl manpage, or some other popular logging frameworks, to ease migration or
adjust with your personal style.
Per-package settings. Each importer package can use its own...
List of contributors List of rpms provided by this srpm:
- perl-Log-ger