@Plugin(name="BinaryIndexedChronicle",
category="Core",
elementType="appender",
printObject=true)
public class BinaryIndexedChronicleAppender
extends BinaryChronicleAppender
AbstractChronicleAppender.IndexedChronicleCfg, AbstractChronicleAppender.VanillaChronicleCfgchronicle| Constructor and Description |
|---|
BinaryIndexedChronicleAppender(String name,
org.apache.logging.log4j.core.Filter filter,
String path,
IndexedLogAppenderConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(org.apache.logging.log4j.core.LogEvent event) |
static BinaryIndexedChronicleAppender |
createAppender(String name,
String path,
String formatMessage,
String includeCallerData,
String includeMappedDiagnosticContext,
AbstractChronicleAppender.IndexedChronicleCfg chronicleConfig,
org.apache.logging.log4j.core.Filter filter) |
protected net.openhft.chronicle.Chronicle |
createChronicle() |
protected net.openhft.chronicle.ExcerptAppender |
getAppender() |
protected IndexedLogAppenderConfig |
getChronicleConfig() |
isFormatMessage, isIncludeCallerData, isIncludeMappedDiagnosticContext, setFormatMessage, setIncludeCallerData, setIncludeMappedDiagnosticContextgetPath, setPath, start, stop, toChronicleLogLevelerror, error, error, getHandler, getLayout, getName, ignoreExceptions, parseInt, setHandler, toStringaddFilter, getFilter, hasFilter, isFiltered, removeFiltergetState, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStoppingpublic BinaryIndexedChronicleAppender(String name, org.apache.logging.log4j.core.Filter filter, String path, IndexedLogAppenderConfig config)
protected net.openhft.chronicle.Chronicle createChronicle()
throws IOException
createChronicle in class AbstractChronicleAppenderIOExceptionprotected net.openhft.chronicle.ExcerptAppender getAppender()
getAppender in class AbstractChronicleAppenderpublic void append(org.apache.logging.log4j.core.LogEvent event)
append in interface org.apache.logging.log4j.core.Appenderappend in class BinaryChronicleAppenderprotected IndexedLogAppenderConfig getChronicleConfig()
@PluginFactory public static BinaryIndexedChronicleAppender createAppender(@PluginAttribute(value="name") String name, @PluginAttribute(value="path") String path, @PluginAttribute(value="formatMessage") String formatMessage, @PluginAttribute(value="includeCallerData") String includeCallerData, @PluginAttribute(value="includeMappedDiagnosticContext") String includeMappedDiagnosticContext, @PluginElement(value="indexedChronicleConfig") AbstractChronicleAppender.IndexedChronicleCfg chronicleConfig, @PluginElement(value="filter") org.apache.logging.log4j.core.Filter filter)
Copyright © 2014. All rights reserved.