- All Known Implementing Classes:
JulMdcProvider
,Log4jMdcProvider
,Slf4jMdcProvider
public interface MdcProvider
Provider which is used to propagate values passed from
HelidonMdc
to the
corresponding logging framework MDC storage.-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clear all of the MDC values from the specific logging framework MDC storage.Return value bound to the specific key.void
Set value to the specific logging framework MDC storage.void
Remove value bound to the key from the specific logging framework MDC storage.
-
Method Details
-
put
Set value to the specific logging framework MDC storage.- Parameters:
key
- entry keyvalue
- entry value
-
remove
Remove value bound to the key from the specific logging framework MDC storage.- Parameters:
key
- entry to remove
-
clear
void clear()Clear all of the MDC values from the specific logging framework MDC storage. -
get
Return value bound to the specific key.- Parameters:
key
- entry key- Returns:
- value bound to the key
-