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