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