Log::ger::Manual::ForLogDispatchouli - Log::ger for Log::Dispatch users
version 0.032.001
Log::Dispatchouli is most known as the logging system used by Dist::Zilla, which is also written by RJBS.
It is a convenient package that lets you log to file, screen, as well as syslog. It uses Log::Dispatch output modules as the backend, hence the name. Some options exist to configure the formatting. It uses String::Flogger to format the message string.
Too few levels (only normal, normal+die (fatal), and debug).
You cannot add more or custom outputs.
Log::ger encourages separation of producers and consumers, so in modules when logging you don't have to deal with setting up level and outputs.
Log::ger can be used in procedural style in addition to OO style. Aside from preference, this gives the benefit of being able to optimize away unneeded logging statements to avoid runtime overhead (see Log::ger::Plugin::OptAway).
Log::ger is faster and has smaller startup overhead.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2020, 2019, 2018, 2017 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Log::ger::Manual, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::ger::Manual
CPAN shell
perl -MCPAN -e shell install Log::ger::Manual
For more information on module installation, please visit the detailed CPAN module installation guide.