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 voidclear()Deprecated.static StackcloneStack()Deprecated.static Stringget()Deprecated.static intgetDepth()Deprecated.static voidinherit(Stack stack)Deprecated.static Stringpeek()Deprecated.static Stringpop()Deprecated.static voidpush(String message)Deprecated.static voidremove()Deprecated.static voidsetMaxDepth(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.
-
-