Package gg.xp.xivsupport.slf4j
Class LogCollector
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
gg.xp.xivsupport.slf4j.LogCollector
- 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 LogCollector
extends ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
-
Field Summary
Fields inherited from class ch.qos.logback.core.AppenderBase
name, started
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCallback
(Runnable run) protected void
append
(ch.qos.logback.classic.spi.ILoggingEvent iLoggingEvent) ch.qos.logback.classic.encoder.PatternLayoutEncoder
static LogCollector
void
removeCallback
(Runnable run) void
setEncoder
(ch.qos.logback.classic.encoder.PatternLayoutEncoder encoder) Methods inherited from class ch.qos.logback.core.AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, start, stop, toString
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
LogCollector
public LogCollector()
-
-
Method Details
-
append
protected void append(ch.qos.logback.classic.spi.ILoggingEvent iLoggingEvent) - Specified by:
append
in classch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
-
getEncoder
public ch.qos.logback.classic.encoder.PatternLayoutEncoder getEncoder() -
setEncoder
public void setEncoder(ch.qos.logback.classic.encoder.PatternLayoutEncoder encoder) -
getEvents
-
getInstance
-
addCallback
-
removeCallback
-