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 SummaryFields inherited from class ch.qos.logback.core.AppenderBasename, startedFields inherited from class ch.qos.logback.core.spi.ContextAwareBasecontext
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.AppenderBaseaddFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, stop, toStringMethods inherited from class ch.qos.logback.core.spi.ContextAwareBaseaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.qos.logback.core.spi.ContextAwareaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
- 
Constructor Details- 
BinaryAppenderpublic BinaryAppender()
- 
BinaryAppender
 
- 
- 
Method Details- 
setFilepath
- 
startpublic void start()- Specified by:
- startin interface- ch.qos.logback.core.spi.LifeCycle
- Overrides:
- startin class- ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
 
- 
closepublic void close()
- 
requiresLayoutpublic boolean requiresLayout()
- 
appendprotected void append(ch.qos.logback.classic.spi.ILoggingEvent event) - Specified by:
- appendin class- ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
 
- 
getBuffer
- 
getLastLogEventspublic List<? extends ch.qos.logback.classic.spi.ILoggingEvent> getLastLogEvents(int numEvents, ch.qos.logback.classic.Level logLevel) 
- 
getRecentLogEvents
- 
getEventsForSystem
 
-