org.jboss.logging
Class NDC
java.lang.Object
org.jboss.logging.NDC
public class NDC
- extends Object
A "Nested Diagnostic Context" abstraction.
- Author:
- Jason T. Greene
Constructor Summary |
NDC()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NDC
public NDC()
clear
public static void clear()
get
public static String get()
getDepth
public static int getDepth()
pop
public static String pop()
peek
public static String peek()
push
public static void push(String message)
setMaxDepth
public static void setMaxDepth(int maxDepth)
Copyright © 2009 JBoss Inc.. All Rights Reserved.