Class BinaryAppender
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
com.inductiveautomation.ignition.common.util.logging.BinaryAppender
- All Implemented Interfaces:
ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent>,ch.qos.logback.core.spi.ContextAware,ch.qos.logback.core.spi.FilterAttachable<ch.qos.logback.classic.spi.ILoggingEvent>,ch.qos.logback.core.spi.LifeCycle
public class BinaryAppender
extends ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
-
Field Summary
Fields inherited from class ch.qos.logback.core.AppenderBase
name, startedFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappend(ch.qos.logback.classic.spi.ILoggingEvent event) voidclose()RAFCircularBuffer<? extends ch.qos.logback.classic.spi.ILoggingEvent>List<? extends ch.qos.logback.classic.spi.ILoggingEvent>getEventsForSystem(String systemId, long timestampFrom, int limit) List<? extends ch.qos.logback.classic.spi.ILoggingEvent>getLastLogEvents(int numEvents, ch.qos.logback.classic.Level logLevel) List<? extends ch.qos.logback.classic.spi.ILoggingEvent>getRecentLogEvents(int time, TimeUnit units, ch.qos.logback.classic.Level logLevel) booleanvoidsetFilepath(String file) voidstart()Methods inherited from class ch.qos.logback.core.AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, stop, toStringMethods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
BinaryAppender
public BinaryAppender() -
BinaryAppender
-
-
Method Details
-
setFilepath
-
start
public void start()- Specified by:
startin interfacech.qos.logback.core.spi.LifeCycle- Overrides:
startin classch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
-
close
public void close() -
requiresLayout
public boolean requiresLayout() -
append
protected void append(ch.qos.logback.classic.spi.ILoggingEvent event) - Specified by:
appendin classch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
-
getBuffer
-
getLastLogEvents
public List<? extends ch.qos.logback.classic.spi.ILoggingEvent> getLastLogEvents(int numEvents, ch.qos.logback.classic.Level logLevel) -
getRecentLogEvents
-
getEventsForSystem
-