Package org.apache.log4j
Class NDC
- java.lang.Object
-
- org.apache.log4j.NDC
-
@Deprecated(since="2022-01-27") public class NDC extends Object
Deprecated.A log4j's NDC implemented in terms of SLF4J MDC primitives.- Since:
- SLF4J 1.6.0
-
-
Constructor Summary
Constructors Constructor Description NDC()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
clear()
Deprecated.static Stack
cloneStack()
Deprecated.static String
get()
Deprecated.static int
getDepth()
Deprecated.static void
inherit(Stack stack)
Deprecated.static String
peek()
Deprecated.static String
pop()
Deprecated.static void
push(String message)
Deprecated.static void
remove()
Deprecated.static void
setMaxDepth(int maxDepth)
Deprecated.
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
clear
public static void clear()
Deprecated.
-
cloneStack
public static Stack cloneStack()
Deprecated.
-
inherit
public static void inherit(Stack stack)
Deprecated.
-
get
public static String get()
Deprecated.
-
getDepth
public static int getDepth()
Deprecated.
-
pop
public static String pop()
Deprecated.
-
peek
public static String peek()
Deprecated.
-
push
public static void push(String message)
Deprecated.
-
remove
public static void remove()
Deprecated.
-
setMaxDepth
public static void setMaxDepth(int maxDepth)
Deprecated.
-
-