Package org.apache.log4j
Class MDC
- java.lang.Object
-
- org.apache.log4j.MDC
-
@Deprecated(since="2022-01-27") public class MDC extends java.lang.Object
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description MDC()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
clear()
Deprecated.static java.lang.Object
get(java.lang.String key)
Deprecated.static java.util.Hashtable
getContext()
Deprecated.static void
put(java.lang.String key, java.lang.Object value)
Deprecated.static void
put(java.lang.String key, java.lang.String value)
Deprecated.static void
remove(java.lang.String key)
Deprecated.
-
-
-
Method Detail
-
put
public static void put(java.lang.String key, java.lang.String value)
Deprecated.
-
put
public static void put(java.lang.String key, java.lang.Object value)
Deprecated.
-
get
public static java.lang.Object get(java.lang.String key)
Deprecated.
-
remove
public static void remove(java.lang.String key)
Deprecated.
-
clear
public static void clear()
Deprecated.
-
getContext
@Deprecated public static java.util.Hashtable getContext()
Deprecated.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.
-
-