-
- All Known Implementing Classes:
JulMdcProvider
,Slf4jMdcProvider
public interface MdcProvider
Provider which is used to propagate values passed fromHelidonMdc
to the corresponding logging framework MDC storage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear()
Clear all of the MDC values from the specific logging framework MDC storage.String
get(String key)
Return value bound to the specific key.void
put(String key, String value)
Set value to the specific logging framework MDC storage.void
remove(String key)
Remove value bound to the key from the specific logging framework MDC storage.
-
-
-
Method Detail
-
put
void put(String key, String value)
Set value to the specific logging framework MDC storage.- Parameters:
key
- entry keyvalue
- entry value
-
remove
void remove(String key)
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.
-
-