learnedbyerror has asked for the wisdom of the Perl Monks concerning the following question:
Oh Wise Monks, I come yet again to seek your assistance. Being a devotee of perl for several decades, I understand and appreciate perl TIMTOWDI. Different is not wrong, but sometimes it is confusing for those of use who are less enlightened, which I definitely am :(
My question today is: What are your preferences regarding the logging frameworks available in perl (Log::Log4perl, Log::Any, Log::ger, Log::Dispatch, Log::Tiny, ...) and upon what is your preference based?
The reason that I bring this question to you, in the words of the Great Monk of Music Jimmy Buffett, is because "indecision may or may not be my problem".
Over the years, I have:
- used simple print statements
- created a few simple logging frameworks of my own
- learned of Log4Perl and became a devotee for a while
- grew lazy and used Smart::Comments, not a logging framework really at all
- ...
I am about to start on a new endeavor and as I often do when starting something new, question my own point of view and seek answers in the temple of CPAN. Most times, this brings me enlightenment and a clear path forward. I see many of the greatest monks in the history of CPAN having authored different frameworks: Log::Any(merlyn, xdg, preaction), Log::Dispatch(autarch) and Log::ger(perlancar) as examples ) I have read their words as recorded in CPAN (some monks do a better job of documentation their works than others :)). This has helped educate me on the pure existence of these frameworks; however, I now am unclear on the appropriateness of application of these frameworks. Given neither a North Star Monk(s) or a clear functional point of view, I lack understanding why one framework may be a better fit for some cases than others.
As such, I seek to understand your opinions and the basis for them. I realize that their is no right or wrong answer here. But as I have learned over the years, there are many opinions expressed here from which I have learned!
Thank you in advance for your patience with me and your responses,
lbe
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Wanted: Opinions on Logging Frameworks
by Discipulus (Canon) on Apr 15, 2018 at 21:21 UTC | |
by learnedbyerror (Monk) on Apr 16, 2018 at 16:41 UTC | |
by perlancar (Hermit) on Dec 20, 2018 at 15:03 UTC | |
Re: Wanted: Opinions on Logging Frameworks
by 1nickt (Canon) on Apr 16, 2018 at 14:35 UTC | |
by learnedbyerror (Monk) on Apr 16, 2018 at 16:32 UTC | |
by 1nickt (Canon) on Apr 16, 2018 at 16:53 UTC | |
by learnedbyerror (Monk) on Apr 16, 2018 at 17:42 UTC | |
Re: Wanted: Opinions on Logging Frameworks
by Ea (Chaplain) on Apr 17, 2018 at 20:36 UTC | |
Re: Wanted: Opinions on Logging Frameworks
by perlancar (Hermit) on Dec 20, 2018 at 11:23 UTC | |
Re: Wanted: Opinions on Logging Frameworks
by perlancar (Hermit) on Dec 20, 2018 at 14:55 UTC |