public class StringAppender
extends ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
StringAppender
is a
Appender
implementation that captures all log events/statements in-memory
appended to a
String
using optionally either a builder or a buffer.
Since:
1.3.0
See Also:
StringBuilder
,
StringBuffer
,
Appender
,
AppenderBase
,
Context
protected org.springframework.geode.logging.slf4j.logback.StringAppender.StringAppenderWrapper
getStringAppenderWrapper
()
protected boolean
isValidLogMessage
(java.lang.String message)
protected java.lang.String
preProcessLogMessage
(java.lang.String message)
protected java.lang.String
toString
(ch.qos.logback.classic.spi.ILoggingEvent loggingEvent)
protected void append(ch.qos.logback.classic.spi.ILoggingEvent loggingEvent)
Specified by:
append
in class
ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>