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
  • Field Details

  • Constructor Details

    • NDC

      public NDC()
      Deprecated.
  • Method Details

    • 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.