Don't ask to ask, just ask | |
PerlMonks |
Integrete Exception::Class and Log::Log4perl ?by jffry (Hermit) |
on Dec 29, 2005 at 23:16 UTC ( [id://519904]=perlquestion: print w/replies, xml ) | Need Help?? |
jffry has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Sorry to post without researching first, but my mind is blown. I've been running the learn-integrate-decide-code mind loop on full blast lately. Stress at home doesn't help, either. Enough of my wimpy excuses. On to my pleading: Does anyone have any idea how to integrate the Log:Log4perl (love this module, by the way!) logging with my exceptions in Exception:Class. That is, how could I take the output of and put it into the 'error' attribute of my thrown exceptions? For example: What do I have to do? Write some sort of custom appender? This wouldn't be a must-have. Just a nice-to-have, so I didn't code myself into a corner if this won't work out easily. Just in case you're concerned. Thanks.
Back to
Seekers of Perl Wisdom
|
|