Class TrivialLogbackAppender
- All Implemented Interfaces:
Appender<ILoggingEvent>, ContextAware, FilterAttachable<ILoggingEvent>, LifeCycle
-
Field Summary
FieldsFields inherited from class AppenderBase
name, startedFields inherited from class ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappend(ILoggingEvent loggingEvent) voidsetLayout(Layout<ILoggingEvent> layout) voidstart()Methods inherited from class AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, stop, toStringMethods inherited from class 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 ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Field Details
-
layout
Layout<ILoggingEvent> layout
-
-
Constructor Details
-
TrivialLogbackAppender
public TrivialLogbackAppender()
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceLifeCycle- Overrides:
startin classAppenderBase<ILoggingEvent>
-
append
- Specified by:
appendin classAppenderBase<ILoggingEvent>
-
getLayout
-
setLayout
-