Hi,
I am writing a Log Utility to check the log level first before creating a
string object. For example, if my log level is INFO, and I call:
log.debug(new String(test));
It will still instantiate the String object even thought it doesn't log
anything.
So I would like to write an Utility to
:
if (this.debug)
{
logger.debug(new String(test));
}
Hope this helps.
Robert Pepersack
Senior Lead Developer
Maryland Insurance Administration
410-468-2054
Tim Nguyen [EMAIL PROTECTED] 04/04/2008 3:02 PM
Hi,
I am writing a Log Utility to check the log level first
Hi,
I am a newbie of Log4j. I wonder if anyone has an example or an utility of how
to write a bean to a file using Log4j. Thank you!
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.