Added convenience method to put thread context int

This commit is contained in:
Collin Smith 2020-08-15 20:02:23 -07:00
parent 1adc468d6e
commit 7691fb323c

View File

@ -41,6 +41,10 @@ public class Log {
ThreadContext.put(key, value);
}
public static void put(String key, int value) {
put(key, String.valueOf(value));
}
public static void remove(String key) {
ThreadContext.remove(key);
}