|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INestedDiagnosticContext
The public interface to the Nested Diagnostic Context object of the ADK Logging Framework
Method Summary | |
---|---|
void |
clearNDC()
Clear any nested disgnostic information. |
Stack |
cloneNDCStack()
Clone the diagnostic context for the current thread. |
String |
getNDC()
Used when printing the diagnostic context. |
int |
getNDCDepth()
Get the current nesting depth of this diagnostic context |
void |
inheritNDC(Stack stack)
Inherit the diagnostic context of another thread. |
void |
popNDC()
Clients should call this method before leaving a diagnostic context. |
void |
pushNDC(String message)
Push new diagnostic context information for the current thread. |
void |
removeNDC()
Remove the diagnostic context for this thread |
void |
setNDCMaxDepth(int depth)
Set maximum depth of this diagnostic context. |
Method Detail |
---|
void clearNDC()
Stack cloneNDCStack()
String getNDC()
int getNDCDepth()
void inheritNDC(Stack stack)
void popNDC()
void pushNDC(String message)
void removeNDC()
void setNDCMaxDepth(int depth)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |