Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: RFC: Log::Painless

by PodMaster (Abbot)
on Mar 16, 2006 at 09:35 UTC ( #537077=note: print w/ replies, xml ) Need Help??


in reply to RFC: Log::Painless

...It came down to the fact that I wanted something in-between for certain applications, and which satisfied the goals above.
You may have already considered this, but your module is very similar to Log4perl's :easy mode, so much so that maybe you should consider subclassing Log::Log4perl for your implementation.

What's the easiest way to use Log4perl?

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.


Comment on Re: RFC: Log::Painless
Re^2: RFC: Log::Painless
by radiantmatrix (Parson) on Mar 16, 2006 at 16:59 UTC

    Hm. After almost a year of using Log::Log4Perl, I never noticed the :easy mode. Interesting, thank you.

    When I first looked at the doc you linked, I thought "yes, I should just subclass this." I mentioned it to a personal friend of mine, though, and was reminded how often my Perl code ends up linked into Windows EXEs and PAR files; perhaps it's best to not require the fairly large Log::Log4Perl and dependencies unless I actually need its power.

    So, it looks like I have a fork before I have a release: I put the creation of Log::Log4Easy, which will be a Log::Painless style interface to the :easy mode of Log::Log4Perl, on my to-do list. Fortunately, I have a temporary excess of round tuits, so expect another RFC in the next couple of weeks.

    <-radiant.matrix->
    A collection of thoughts and links from the minds of geeks
    The Code that can be seen is not the true Code
    I haven't found a problem yet that can't be solved by a well-placed trebuchet

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2014-07-22 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (128 votes), past polls