Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Methods for simple logging from modules

by pajout (Curate)
on Jul 07, 2011 at 10:29 UTC ( #913154=note: print w/ replies, xml ) Need Help??

in reply to Methods for simple logging from modules

I think it very depends on your exact requirements. I often use my proprietary implementation due to specific requirements in my OO design. In result, it looks like this:

$self->debug1("Starting action..."); my $res = $self->action(); $self->log("Action result:".$res);

Comment on Re: Methods for simple logging from modules
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-07-14 01:03 GMT
Find Nodes?
    Voting Booth?

    When choosing user names for websites, I prefer to use:

    Results (253 votes), past polls