in reply to Re: Wanted: Opinions on Logging Frameworks
in thread Wanted: Opinions on Logging Frameworks

Why do you like Log::Any for log production and Log::Dispatch for log consumption?

Functionally, I can achieve the same thing with Log:::Log4perl appenders without have to use but one framework

Please don't take my question and comment as being defensive or as an attack. I ask to understand. I agree that what you describe is technically correct.

  • Comment on Re^2: Wanted: Opinions on Logging Frameworks

Replies are listed 'Best First'.
Re^3: Wanted: Opinions on Logging Frameworks
by 1nickt (Canon) on Apr 16, 2018 at 16:53 UTC

    Because if I use Log::Any for production, I can use any adapter for consumption, meaning I can swap out or override easily. Also because most of the CPAN modules I like use Log::Any so I can control output from them in my own logging framework.

    Also note that I only gave Log::Dispatch as an example of an adapter, one that can multiplex. Normally you only need to load Log::Any and can use the default adapters that are provided with the companion Log::Any::Adapter.


    The way forward always starts with a minimal test.

      Thank you for your explanation. It makes a lot of sense. I'm off to MetaCPAN now to look at what modules have a reverse dependency on Log::Any :)

      lbe