|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.util.ExecutionPathDebugLog
public class ExecutionPathDebugLog
Utility class that control debug-level logging in the execution path beyond which is controlled by Log4j.
As Log4j will return true to the "log.isDebugEnabled()" call when there is no log4j configuration, this leaves the door open to poor execution time performance if one forgets the log4j config file.
Note that a static variable control this setting and therefore the debug-enable applies to engines within the module or VM.
Field Summary | |
---|---|
static boolean |
isDebugEnabled
Public access. |
static boolean |
isTimerDebugEnabled
Public access. |
Constructor Summary | |
---|---|
ExecutionPathDebugLog()
|
Method Summary | |
---|---|
static void |
setDebugEnabled(java.lang.Boolean debugEnabled)
Sets execution path debug logging. |
static void |
setTimerDebugEnabled(java.lang.Boolean timerDebugEnabled)
Sets debug logging for timer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean isDebugEnabled
public static boolean isTimerDebugEnabled
Constructor Detail |
---|
public ExecutionPathDebugLog()
Method Detail |
---|
public static void setDebugEnabled(java.lang.Boolean debugEnabled)
debugEnabled
- true for allowing Log4j debug log messages to be generated for the execution pathpublic static void setTimerDebugEnabled(java.lang.Boolean timerDebugEnabled)
timerDebugEnabled
- true for allowing Log4j debug log messages for regular timer execution
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |