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:$logger->error('This is a bag thing you did!');
What do I have to do? Write some sort of custom appender?MyException::SysCmd::Fail->throw( 'error' => 'This is a bad thing you did.', );
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.
In reply to Integrete Exception::Class and Log::Log4perl ? by jffry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |