Package org.alfresco.util.log
Class NDC
- java.lang.Object
-
- org.alfresco.util.log.NDC
-
public class NDC extends Object
A stand in for the org.apache.log4j.NDC class that avoids introducing runtime dependencies against the otherwise optional log4j.- Author:
- dward
-
-
Constructor Summary
Constructors Constructor Description NDC()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
push(String message)
Push new diagnostic context information for the current thread.static void
remove()
Remove the diagnostic context for this thread.
-
-
-
Method Detail
-
push
public static void push(String message)
Push new diagnostic context information for the current thread.- Parameters:
message
- The new diagnostic context information.
-
remove
public static void remove()
Remove the diagnostic context for this thread.
-
-