java.lang.Object
io.helidon.logging.common.HelidonMdc
Helidon MDC delegates values across all of the supported logging frameworks on the classpath.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clear()
Remove all of the entries bound to the current thread from the instances ofMdcProvider
.Return the first value found to the specific key.static void
Remove value with the specific key from all of the instances ofMdcProvider
.static void
Propagate value to all of theMdcProvider
registered via SPI.
-
Method Details
-
set
Propagate value to all of theMdcProvider
registered via SPI.- Parameters:
key
- entry keyvalue
- entry value
-
remove
Remove value with the specific key from all of the instances ofMdcProvider
.- Parameters:
key
- key
-
clear
public static void clear()Remove all of the entries bound to the current thread from the instances ofMdcProvider
. -
get
Return the first value found to the specific key.- Parameters:
key
- key- Returns:
- found value bound to key
-