- java.lang.Object
- 
- io.helidon.logging.common.HelidonMdc
 
- 
 public class HelidonMdc extends Object Helidon MDC delegates values across all of the supported logging frameworks on the classpath.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclear()Remove all of the entries bound to the current thread from the instances ofMdcProvider.static Optional<String>get(String key)Return the first value found to the specific key.static voidremove(String key)Remove value with the specific key from all of the instances ofMdcProvider.static voidset(String key, String value)Propagate value to all of theMdcProviderregistered via SPI.
 
- 
- 
- 
Method Detail- 
setpublic static void set(String key, String value) Propagate value to all of theMdcProviderregistered via SPI.- Parameters:
- key- entry key
- value- entry value
 
 - 
removepublic static void remove(String key) Remove value with the specific key from all of the instances ofMdcProvider.- Parameters:
- key- key
 
 - 
clearpublic static void clear() Remove all of the entries bound to the current thread from the instances ofMdcProvider.
 
- 
 
-