public class TinylogContextProvider extends Object implements org.tinylog.provider.ContextProvider
InheritableThreadLocal
to store thread context
values.Constructor and Description |
---|
TinylogContextProvider() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
String |
get(String key) |
Map<String,String> |
getMapping() |
void |
put(String key,
Object value) |
void |
remove(String key) |
public Map<String,String> getMapping()
getMapping
in interface org.tinylog.provider.ContextProvider
public String get(String key)
get
in interface org.tinylog.provider.ContextProvider
public void put(String key, Object value)
put
in interface org.tinylog.provider.ContextProvider
public void remove(String key)
remove
in interface org.tinylog.provider.ContextProvider
public void clear()
clear
in interface org.tinylog.provider.ContextProvider
Copyright © 2020. All rights reserved.