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

Re: perl modules design for logging

by Discipulus (Canon)
on Sep 10, 2019 at 08:33 UTC ( [id://11105936]=note: print w/replies, xml ) Need Help??


in reply to perl modules design for logging

Hello pwagyi

you can start here: Logging at Task::Kensho

Also Log::Any seems interesting and can be used directly inside Moo class:

package Foo; use Log::Any (); use Moo; has log => ( is => 'ro', default => sub { Log::Any->get_logger }, );

You can also be interested in logging in my bibliotheca linking to Choosing a log level

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-20 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found