public class SharedContext extends Slf4jLoggingContext implements SharedLoggingContext
Constructor and Description |
---|
SharedContext(LoggingContext base) |
Modifier and Type | Method and Description |
---|---|
void |
put(String key,
String value)
Put a key/value pair into the logging context, replacing an entry with the same key.
|
void |
transferTo(SharedLoggingContext lc)
Copy this context's data to the given context.
|
get, get, put
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, get, put
public SharedContext(LoggingContext base)
public void put(String key, String value)
LoggingContext
put
in interface LoggingContext
put
in class Slf4jLoggingContext
public void transferTo(SharedLoggingContext lc)
SharedLoggingContext
transferTo
in interface SharedLoggingContext
Copyright © 2017. All rights reserved.