Class NDC


  • @Deprecated(since="2022-01-27")
    public class NDC
    extends java.lang.Object
    Deprecated.
    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.String PREFIX
      Deprecated.
       
    • 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 java.util.Stack cloneStack()
      Deprecated.
       
      static java.lang.String get()
      Deprecated.
       
      static int getDepth()
      Deprecated.
       
      static void inherit​(java.util.Stack stack)
      Deprecated.
       
      static java.lang.String peek()
      Deprecated.
       
      static java.lang.String pop()
      Deprecated.
       
      static void push​(java.lang.String message)
      Deprecated.
       
      static void remove()
      Deprecated.
       
      static void setMaxDepth​(int maxDepth)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NDC

        public NDC()
        Deprecated.
    • 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.