Class MDC
java.lang.Object
org.jboss.logging.MDC
Mapped diagnostic context. Each log provider implementation may behave different.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidclear()Clears the message diagnostics context.static ObjectReturns the value for the key ornullif no value was found.getMap()Returns the map from the context.static ObjectPuts the value onto the context.static voidRemoves the value from the context.
-
Method Details
-
put
-
get
-
remove
Removes the value from the context.- Parameters:
key- the key of the value to remove
-
getMap
-
clear
public static void clear()Clears the message diagnostics context.
-