Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Format strings with Log::Dispatch?

by 1nickt (Abbot)
on Nov 12, 2019 at 17:52 UTC ( #11108593=note: print w/replies, xml ) Need Help??

in reply to Format strings with Log::Dispatch?

Hi, Log::Dispatch is just a dispatcher and the logging objects to which it dispatches messages are what determine the output. You can use an existing one, (including possibly of interest Log::Dispatch::Code to output to a coderef of your own devising), write your own output class, or use Log::Dispatch::Config in place of the parent class.

Also see the doc for configuration in the Role you are currently using.

Hope this helps!

The way forward always starts with a minimal test.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11108593]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2020-05-31 11:25 GMT
Find Nodes?
    Voting Booth?
    If programming languages were movie genres, Perl would be:

    Results (173 votes). Check out past polls.