public abstract class AbstractChronicleAppender
extends org.apache.logging.log4j.core.appender.AbstractAppender
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractChronicleAppender.IndexedChronicleCfg |
static class |
AbstractChronicleAppender.VanillaChronicleCfg |
| Modifier and Type | Field and Description |
|---|---|
protected net.openhft.chronicle.Chronicle |
chronicle |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractChronicleAppender(String name,
org.apache.logging.log4j.core.Filter filter,
String path) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract net.openhft.chronicle.Chronicle |
createChronicle() |
protected abstract net.openhft.chronicle.ExcerptAppender |
getAppender() |
String |
getPath() |
void |
setPath(String path) |
void |
start() |
void |
stop() |
static ChronicleLogLevel |
toChronicleLogLevel(org.apache.logging.log4j.Level level) |
error, error, error, getHandler, getLayout, getName, ignoreExceptions, parseInt, setHandler, toStringaddFilter, getFilter, hasFilter, isFiltered, removeFiltergetState, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStoppingpublic void setPath(String path)
public String getPath()
protected abstract net.openhft.chronicle.Chronicle createChronicle()
throws IOException
IOExceptionprotected abstract net.openhft.chronicle.ExcerptAppender getAppender()
public void start()
start in interface org.apache.logging.log4j.core.LifeCyclestart in class org.apache.logging.log4j.core.filter.AbstractFilterablepublic void stop()
stop in interface org.apache.logging.log4j.core.LifeCyclestop in class org.apache.logging.log4j.core.filter.AbstractFilterablepublic static ChronicleLogLevel toChronicleLogLevel(org.apache.logging.log4j.Level level)
Copyright © 2014. All rights reserved.