Class QueuedConsoleLogAppender
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.UnsynchronizedAppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
ch.qos.logback.core.OutputStreamAppender<ch.qos.logback.classic.spi.ILoggingEvent>
ch.qos.logback.core.ConsoleAppender<ch.qos.logback.classic.spi.ILoggingEvent>
eu.cloudnetservice.node.impl.log.QueuedConsoleLogAppender
- 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 final class QueuedConsoleLogAppender
extends ch.qos.logback.core.ConsoleAppender<ch.qos.logback.classic.spi.ILoggingEvent>
A logging handler for developers, that can easy handle and get the logging outputs from this node instance
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Queue<ch.qos.logback.classic.spi.ILoggingEvent> A queue that contain the last 128 logging output as LogEntries that should print into the consoleprivate final eu.cloudnetservice.driver.event.EventManagerFields inherited from class ch.qos.logback.core.ConsoleAppender
target, withJansiFields inherited from class ch.qos.logback.core.OutputStreamAppender
encoder, streamWriteLockFields inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase
name, startedFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidMethods inherited from class ch.qos.logback.core.ConsoleAppender
getTarget, isWithJansi, setTarget, setWithJansi, startMethods inherited from class ch.qos.logback.core.OutputStreamAppender
closeOutputStream, getEncoder, getOutputStream, isImmediateFlush, setEncoder, setImmediateFlush, setLayout, setOutputStream, stop, subAppend, updateByteCount, writeByteArrayToOutputStreamWithPossibleFlush, writeOutMethods inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringMethods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class 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
-
Field Details
-
eventManager
private final eu.cloudnetservice.driver.event.EventManager eventManager -
cachedQueuedLogEntries
A queue that contain the last 128 logging output as LogEntries that should print into the console
-
-
Constructor Details
-
QueuedConsoleLogAppender
public QueuedConsoleLogAppender()
-
-
Method Details
-
cachedLogEntries
-
formattedCachedLogLines
-
append
-