[ 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: Open
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474138&aid=711931&group_id=54559
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.