public interface DebugConfig
Modifier and Type | Method and Description |
---|---|
void |
addToContext(Object o)
Adds an object the context used by this configuration to do filtering.
|
Collection<DebugDumpHandler> |
dumpHandlers()
Gets the modifiable collection of dump handlers registered with this configuration.
|
int |
getDumpLevel()
Determines the current dump level in the current debug
scope.
|
int |
getLogLevel()
Determines the current log level in the current debug scope
.
|
RuntimeException |
interceptException(Throwable e)
Handles notification of an exception occurring within a debug scope.
|
boolean |
isDumpEnabledForMethod()
Determines if dumping can be enabled in the current method, regardless of the
current debug scope.
|
boolean |
isLogEnabledForMethod()
Determines if logging can be enabled in the current method, regardless of the
current debug scope.
|
boolean |
isMemUseTrackingEnabled()
Determines if memory use tracking is enabled in the current
debug scope.
|
boolean |
isMeterEnabled()
Determines if metering is enabled in the current debug
scope.
|
boolean |
isTimeEnabled() |
boolean |
isVerifyEnabled() |
boolean |
isVerifyEnabledForMethod() |
PrintStream |
output() |
void |
removeFromContext(Object o)
Removes an object the context used by this configuration to do filtering.
|
Collection<DebugVerifyHandler> |
verifyHandlers()
Gets the modifiable collection of verify handlers registered with this configuration.
|
int getLogLevel()
int getDumpLevel()
boolean isLogEnabledForMethod()
boolean isMeterEnabled()
Debug.metric(CharSequence)
boolean isMemUseTrackingEnabled()
Debug.memUseTracker(CharSequence)
boolean isDumpEnabledForMethod()
boolean isVerifyEnabled()
Debug.isVerifyEnabled()
boolean isVerifyEnabledForMethod()
Debug.isVerifyEnabledForMethod()
void addToContext(Object o)
void removeFromContext(Object o)
addToContext(Object)
.boolean isTimeEnabled()
Debug.timer(CharSequence)
RuntimeException interceptException(Throwable e)
null
indicates that e
is to be propagated.Collection<DebugDumpHandler> dumpHandlers()
PrintStream output()
Collection<DebugVerifyHandler> verifyHandlers()