[ openjms-Patches-711931 ] Ability to detect Debug Logging
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
Patches item #711931, was opened at 2003-03-29 14:31 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474138&aid=711931&group_id=54559 Category: None Group: None >Status: Closed Resolution: None Priority: 5 Submitted By: Martin Bosak (bosakm) Assigned to: Nobody/Anonymous (nobody) Summary: Ability to detect Debug Logging Initial Comment: Hi, I modified exolabcore LoggerIfc and Log4jLogger to add an 'isDebugEnabled()' method. This allows a client class to detect if the Log4j Debug level is enabled prior to creating the message to be logged. This could be a performance improvement if the debug message is being constructed by cascading String concatenation operations. ---------------------------------------------------------------------- >Comment By: Martin Bosak (bosakm) Date: 2003-03-29 14:38 Message: Logged In: YES user_id=515563 Please dis-regard this entry. I had problems attaching the file (this is my first time using this). I re-submitted the patch with the diff in the description. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474138&aid=711931&group_id=54559