class LastErrorsAppender extends AppenderBase[ILoggingEvent] with AppenderAttachable[ILoggingEvent]
Logback appender that keeps a bounded queue of errors/warnings that have been logged and associated log entries with the same trace-id.
- Annotations
- @SuppressWarnings()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LastErrorsAppender
- AppenderAttachable
- AppenderBase
- Appender
- FilterAttachable
- LifeCycle
- ContextAwareBase
- ContextAware
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new LastErrorsAppender()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAppender(newAppender: Appender[ILoggingEvent]): Unit
- Definition Classes
- LastErrorsAppender → AppenderAttachable
- def addError(arg0: String, arg1: Throwable): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def addError(arg0: String): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def addFilter(arg0: Filter[ILoggingEvent]): Unit
- Definition Classes
- AppenderBase → FilterAttachable
- def addInfo(arg0: String, arg1: Throwable): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def addInfo(arg0: String): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def addStatus(arg0: Status): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def addWarn(arg0: String, arg1: Throwable): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def addWarn(arg0: String): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def append(event: ILoggingEvent): Unit
- Definition Classes
- LastErrorsAppender → AppenderBase
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearAllFilters(): Unit
- Definition Classes
- AppenderBase → FilterAttachable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def detachAndStopAllAppenders(): Unit
- Definition Classes
- LastErrorsAppender → AppenderAttachable
- def detachAppender(name: String): Boolean
- Definition Classes
- LastErrorsAppender → AppenderAttachable
- def detachAppender(appender: Appender[ILoggingEvent]): Boolean
- Definition Classes
- LastErrorsAppender → AppenderAttachable
- def doAppend(arg0: ILoggingEvent): Unit
- Definition Classes
- AppenderBase → Appender
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getAppender(name: String): Appender[ILoggingEvent]
- Definition Classes
- LastErrorsAppender → AppenderAttachable
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getContext(): Context
- Definition Classes
- ContextAwareBase → ContextAware
- def getCopyOfAttachedFiltersList(): List[Filter[ILoggingEvent]]
- Definition Classes
- AppenderBase → FilterAttachable
- def getDeclaredOrigin(): AnyRef
- Attributes
- protected[spi]
- Definition Classes
- ContextAwareBase
- def getFilterChainDecision(arg0: ILoggingEvent): FilterReply
- Definition Classes
- AppenderBase → FilterAttachable
- def getName(): String
- Definition Classes
- AppenderBase → Appender
- def getStatusManager(): StatusManager
- Definition Classes
- ContextAwareBase
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def isAttached(appender: Appender[ILoggingEvent]): Boolean
- Definition Classes
- LastErrorsAppender → AppenderAttachable
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isStarted(): Boolean
- Definition Classes
- AppenderBase → LifeCycle
- def iteratorForAppenders(): Iterator[Appender[ILoggingEvent]]
- Definition Classes
- LastErrorsAppender → AppenderAttachable
- def lastErrorTrace(traceId: String): Option[Seq[ILoggingEvent]]
Returns a trace (sequence of events with the same trace-id) for an error
- def lastErrors: Map[String, ILoggingEvent]
Return a map of traceId to error/warning event
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def setContext(arg0: Context): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def setLastErrorsFileAppenderName(name: String): Unit
- def setMaxErrors(errors: Int): Unit
Allows to override the maximum numbers of errors to keep from a logback.xml
- def setMaxEvents(events: Int): Unit
Allows to override the maximum events to keep per trace-id from a logback.xml
- def setMaxTraces(traces: Int): Unit
Allows to override the maximum traces to keep from a logback.xml
- def setName(arg0: String): Unit
- Definition Classes
- AppenderBase → Appender
- def start(): Unit
- Definition Classes
- AppenderBase → LifeCycle
- def stop(): Unit
- Definition Classes
- LastErrorsAppender → AppenderBase → LifeCycle
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AppenderBase → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])