public class HostNameKeyingStrategy extends ch.qos.logback.core.spi.ContextAwareBase implements KeyingStrategy<Object>
| 构造器和说明 |
|---|
HostNameKeyingStrategy() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
createKey(Object e)
creates a byte array key for the given
ILoggingEvent |
void |
setContext(ch.qos.logback.core.Context context) |
public void setContext(ch.qos.logback.core.Context context)
setContext 在接口中 ch.qos.logback.core.spi.ContextAwaresetContext 在类中 ch.qos.logback.core.spi.ContextAwareBasepublic byte[] createKey(Object e)
KeyingStrategyILoggingEventcreateKey 在接口中 KeyingStrategy<Object>e - the logging eventCopyright © 2015–2017. All rights reserved.