|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.util.log.log4j.Log4JNDC
public class Log4JNDC
A stand in for the org.apache.log4j.NDC class that avoids introducing runtime dependencies against the otherwise optional log4j.
Constructor Summary | |
---|---|
Log4JNDC()
|
Method Summary | |
---|---|
void |
push(java.lang.String message)
Push new diagnostic context information for the current thread. |
void |
remove()
Remove the diagnostic context for this thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Log4JNDC()
Method Detail |
---|
public void push(java.lang.String message)
push
in interface NDCDelegate
message
- The new diagnostic context information.public void remove()
remove
in interface NDCDelegate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |