public class HostNameKeyingStrategy extends ch.qos.logback.core.spi.ContextAwareBase implements KeyingStrategy<Object>, ch.qos.logback.core.spi.LifeCycle
| Constructor and Description |
|---|
HostNameKeyingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
createKey(Object e)
creates a byte array key for the given
ILoggingEvent |
boolean |
isStarted() |
void |
setContext(ch.qos.logback.core.Context context) |
void |
start() |
void |
stop() |
public void setContext(ch.qos.logback.core.Context context)
setContext in interface ch.qos.logback.core.spi.ContextAwaresetContext in class ch.qos.logback.core.spi.ContextAwareBasepublic byte[] createKey(Object e)
KeyingStrategyILoggingEventcreateKey in interface KeyingStrategy<Object>e - the logging eventpublic void start()
start in interface ch.qos.logback.core.spi.LifeCyclepublic void stop()
stop in interface ch.qos.logback.core.spi.LifeCyclepublic boolean isStarted()
isStarted in interface ch.qos.logback.core.spi.LifeCycleCopyright © 2015–2018. All rights reserved.