|There's more than one way to do things|
Assertions and Loggingby nop (Hermit)
|on Dec 09, 2002 at 16:11 UTC||Need Help??|
nop has asked for the
wisdom of the Perl Monks concerning the following question:
Hi. I'm using log4perl, and I'm using Carp::assert with $Carp::Verbose = 1.
My questions are:
How can I integrate the assertions with the logging?
Is it possible to have assertions that fail with warnings, rather than fatally?
Can I get my failed assertions into my log4perl log, rather than to stderr?
Thanks -- nop