public abstract class AbstractChronicleAppender
extends ch.qos.logback.core.spi.ContextAwareBase
implements ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>
| Modifier and Type | Field and Description |
|---|---|
protected net.openhft.chronicle.Chronicle |
chronicle |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractChronicleAppender() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFilter(ch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent> newFilter) |
void |
clearAllFilters() |
protected abstract net.openhft.chronicle.Chronicle |
createChronicle() |
protected abstract net.openhft.chronicle.ExcerptAppender |
getAppender() |
List<ch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent>> |
getCopyOfAttachedFiltersList() |
ch.qos.logback.core.spi.FilterReply |
getFilterChainDecision(ch.qos.logback.classic.spi.ILoggingEvent event) |
String |
getName() |
String |
getPath() |
boolean |
isStarted() |
void |
setName(String name) |
void |
setPath(String path) |
void |
start() |
void |
stop() |
static ChronicleLogLevel |
toChronicleLogLevel(ch.qos.logback.classic.Level level) |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextpublic void setPath(String path)
public String getPath()
protected abstract net.openhft.chronicle.Chronicle createChronicle()
throws IOException
IOExceptionprotected abstract net.openhft.chronicle.ExcerptAppender getAppender()
public String getName()
getName in interface ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>public void setName(String name)
setName in interface ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>public boolean isStarted()
isStarted in interface ch.qos.logback.core.spi.LifeCyclepublic void addFilter(ch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent> newFilter)
addFilter in interface ch.qos.logback.core.spi.FilterAttachable<ch.qos.logback.classic.spi.ILoggingEvent>public void clearAllFilters()
clearAllFilters in interface ch.qos.logback.core.spi.FilterAttachable<ch.qos.logback.classic.spi.ILoggingEvent>public List<ch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent>> getCopyOfAttachedFiltersList()
getCopyOfAttachedFiltersList in interface ch.qos.logback.core.spi.FilterAttachable<ch.qos.logback.classic.spi.ILoggingEvent>public ch.qos.logback.core.spi.FilterReply getFilterChainDecision(ch.qos.logback.classic.spi.ILoggingEvent event)
getFilterChainDecision in interface ch.qos.logback.core.spi.FilterAttachable<ch.qos.logback.classic.spi.ILoggingEvent>public void start()
start in interface ch.qos.logback.core.spi.LifeCyclepublic void stop()
stop in interface ch.qos.logback.core.spi.LifeCyclepublic static ChronicleLogLevel toChronicleLogLevel(ch.qos.logback.classic.Level level)
Copyright © 2014. All rights reserved.