public static final class LoggingAdvisingAppendable.BufferingAppendable extends AbstractLoggingAdvisingAppendable
LoggingAdvisingAppendable that renders to a string builder.LoggingAdvisingAppendable.BufferingAppendable| Modifier and Type | Method and Description |
|---|---|
protected void |
doAppendLoggingFunctionInvocation(LoggingFunctionInvocation funCall,
com.google.common.collect.ImmutableList<com.google.common.base.Function<String,String>> escapers) |
protected void |
doEnterLoggableElement(LogStatement statement)
Called whenever a loggable element is entered.
|
protected void |
doExitLoggableElement()
Called whenever a loggable element is exited.
|
String |
getAndClearBuffer() |
protected void |
notifyContentDirectionality(Dir contentDir)
Called when the directionality is initially set.
|
protected void |
notifyContentKind(SanitizedContent.ContentKind kind)
Called when the content kind is initially set.
|
void |
replayOn(LoggingAdvisingAppendable appendable) |
String |
toString() |
append, append, append, appendLoggingFunctionInvocation, enterLoggableElement, exitLoggableElementbuffering, delegating, escapePlaceholder, getSanitizedContentDirectionality, getSantizedContentKind, setSanitizedContentDirectionality, setSanitizedContentKind, stringCoercingprotected void notifyContentKind(SanitizedContent.ContentKind kind) throws IOException
LoggingAdvisingAppendablenotifyContentKind in class LoggingAdvisingAppendableIOException#setSanitizedContentKind(ContentKind)protected void notifyContentDirectionality(@Nullable Dir contentDir) throws IOException
LoggingAdvisingAppendablenotifyContentDirectionality in class LoggingAdvisingAppendableIOExceptionLoggingAdvisingAppendable.setSanitizedContentDirectionality(Dir)protected final void doEnterLoggableElement(LogStatement statement)
protected final void doExitLoggableElement()
protected void doAppendLoggingFunctionInvocation(LoggingFunctionInvocation funCall, com.google.common.collect.ImmutableList<com.google.common.base.Function<String,String>> escapers) throws IOException
IOExceptionpublic void replayOn(LoggingAdvisingAppendable appendable) throws IOException
IOExceptionpublic String getAndClearBuffer()