org.apache.log4j
Class MDC
java.lang.Object
org.apache.log4j.MDC
public class MDC
- extends Object
Constructor Summary |
MDC()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MDC
public MDC()
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()
- 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.
Copyright © 2005–2016 QOS.ch. All rights reserved.