public abstract class Logging extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PREFIX_KEY |
Constructor and Description |
---|
Logging() |
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
getCopyOfContextMap() |
static Runnable |
preserve(Runnable runnable) |
static void |
putPrefix(String name) |
static void |
putThreadContext(String key,
String value) |
static void |
setContextMap(Map<String,String> mdc) |
static <T> T |
withPrefix(String prefix,
Callable<T> callable) |
static void |
withPrefix(String prefix,
Runnable runnable) |
Copyright © 2017. All rights reserved.