mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-20 09:17:29 +07:00
Added convenience method to put thread context int
This commit is contained in:
parent
1adc468d6e
commit
7691fb323c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user