public abstract class AbstractOutputStreamAppenderFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware> extends AbstractAppenderFactory<E>
AppenderFactory producing an appender based on OutputStreamAppender.layout, logFormat, threshold, timeZone| Constructor and Description |
|---|
AbstractOutputStreamAppenderFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ch.qos.logback.core.OutputStreamAppender<E> |
appender(ch.qos.logback.classic.LoggerContext context) |
ch.qos.logback.core.Appender<E> |
build(ch.qos.logback.classic.LoggerContext context,
String applicationName,
LayoutFactory<E> layoutFactory,
LevelFilterFactory<E> levelFilterFactory,
AsyncAppenderFactory<E> asyncAppenderFactory)
Given a Logback context, an application name, a layout,
a levelFilterFactory, and an asyncAppenderFactory build a new appender.
|
buildLayout, getDiscardingThreshold, getFilterFactories, getLayout, getLogFormat, getMessageRate, getQueueSize, getThreshold, getTimeZone, isIncludeCallerData, setDiscardingThreshold, setFilterFactories, setIncludeCallerData, setLayout, setLogFormat, setMessageRate, setNeverBlock, setQueueSize, setThreshold, setTimeZone, setTimeZone, wrapAsync, wrapAsyncprotected abstract ch.qos.logback.core.OutputStreamAppender<E> appender(ch.qos.logback.classic.LoggerContext context)
public ch.qos.logback.core.Appender<E> build(ch.qos.logback.classic.LoggerContext context, String applicationName, LayoutFactory<E> layoutFactory, LevelFilterFactory<E> levelFilterFactory, AsyncAppenderFactory<E> asyncAppenderFactory)
AppenderFactorycontext - the Logback contextapplicationName - the application namelayoutFactory - the factory for the layout for logginglevelFilterFactory - the factory for the level filterasyncAppenderFactory - the factory for the async appenderAppenderCopyright © 2024. All rights reserved.