Package ch.qos.logback.core
Class OutputStreamAppender<E>
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.UnsynchronizedAppenderBase<E>
ch.qos.logback.core.OutputStreamAppender<E>
- All Implemented Interfaces:
Appender<E>,ContextAware,FilterAttachable<E>,LifeCycle
- Direct Known Subclasses:
ConsoleAppender,FileAppender
@Deprecated(since="2022-01-27")
public class OutputStreamAppender<E>
extends UnsynchronizedAppenderBase<E>
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
OutputStreamAppender appends events to a
OutputStream. This class
provides basic services that other appenders build upon.
For more information about this appender, please refer to the online manual
at http://logback.qos.ch/manual/appenders.html#OutputStreamAppender-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.The underlying output stream used by this appender.booleanDeprecated.voidsetEncoder(Encoder<E> encoder) Deprecated.voidsetImmediateFlush(boolean immediateFlush) Deprecated.voidDeprecated.voidsetOutputStream(OutputStream outputStream) Deprecated.Sets the @link OutputStream} where the log output will go.voidstart()Deprecated.Checks that requires parameters are set and if everything is in order, activates this appender.voidstop()Deprecated.Stop this appender instance.Methods 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, getStatusManager, setContextMethods inherited from class java.lang.Object
equals, 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
-
Constructor Details
-
OutputStreamAppender
public OutputStreamAppender()Deprecated.
-
-
Method Details
-
getOutputStream
Deprecated.The underlying output stream used by this appender.- Returns:
-
start
public void start()Deprecated.Checks that requires parameters are set and if everything is in order, activates this appender.- Specified by:
startin interfaceLifeCycle- Overrides:
startin classUnsynchronizedAppenderBase<E>
-
setLayout
Deprecated. -
stop
public void stop()Deprecated.Stop this appender instance. The underlying stream or writer is also closed.Stopped appenders cannot be reused.
- Specified by:
stopin interfaceLifeCycle- Overrides:
stopin classUnsynchronizedAppenderBase<E>
-
setOutputStream
Deprecated.Sets the @link OutputStream} where the log output will go. The specified
OutputStreammust be opened by the user and be writable. TheOutputStreamwill be closed when the appender instance is closed.- Parameters:
outputStream- An already opened OutputStream.
-
getEncoder
Deprecated. -
setEncoder
Deprecated. -
isImmediateFlush
public boolean isImmediateFlush()Deprecated. -
setImmediateFlush
public void setImmediateFlush(boolean immediateFlush) Deprecated.
-