public final class NDC
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
clear() |
static Message[] |
getContextStack()
Returns an array containing all messages of the stack.
|
static int |
getDepth() |
static boolean |
isEmpty() |
static void |
pop()
Pops the last message from the stack.
|
static void |
push(java.lang.String messagePattern,
java.lang.Object... arguments) |
static void |
setMaximumDepth(int maximumDepth) |
public static void push(java.lang.String messagePattern, java.lang.Object... arguments)
public static void pop()
public static int getDepth()
public static void setMaximumDepth(int maximumDepth)
public static boolean isEmpty()
public static void clear()
public static Message[] getContextStack()