Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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
Domain Nodelet?
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 exploiting the Monastery: (4)
As of 2021-10-28 07:16 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (96 votes). Check out past polls.