Class MDC


public class MDC extends Object
  • Constructor Details

    • MDC

      public MDC()
  • Method Details

    • put

      public static void put(String key, String value)
    • put

      public static void put(String key, Object value)
    • get

      public static Object get(String key)
    • remove

      public static void remove(String key)
    • clear

      public static void clear()
    • getContext

      @Deprecated public static Hashtable getContext()
      This method is not part of the Log4J public API. However it has been called by other projects. This method is here temporarily until projects who are depending on this method release fixes.
      a copy of the underlying map returned as a Hashtable