java.lang.Object
io.helidon.logging.slf4j.Slf4jMdcProvider
- All Implemented Interfaces:
MdcProvider
Provider for setting MDC values to the Slf4j MDC support.
This class is loaded and used via SPI.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear all of the MDC values from the specific logging framework MDC storage.Return value bound to the specific key.voidSet value to the specific logging framework MDC storage.voidRemove value bound to the key from the specific logging framework MDC storage.
-
Constructor Details
-
Slf4jMdcProvider
public Slf4jMdcProvider()
-
-
Method Details
-
put
Description copied from interface:MdcProviderSet value to the specific logging framework MDC storage.- Specified by:
putin interfaceMdcProvider- Parameters:
key- entry keyvalue- entry value
-
remove
Description copied from interface:MdcProviderRemove value bound to the key from the specific logging framework MDC storage.- Specified by:
removein interfaceMdcProvider- Parameters:
key- entry to remove
-
clear
public void clear()Description copied from interface:MdcProviderClear all of the MDC values from the specific logging framework MDC storage.- Specified by:
clearin interfaceMdcProvider
-
get
Description copied from interface:MdcProviderReturn value bound to the specific key.- Specified by:
getin interfaceMdcProvider- Parameters:
key- entry key- Returns:
- value bound to the key
-