public abstract class AbstractLoggingAdvisingAppendable extends LoggingAdvisingAppendable
LoggingAdvisingAppendable that implements logonly behavior in response to log
statements
If a logging statement enables logonly it means that we will only collect logging
statements
Important: Do not use outside of Soy code (treat as superpackage-private).
LoggingAdvisingAppendable.BufferingAppendable| Constructor and Description |
|---|
AbstractLoggingAdvisingAppendable() |
| Modifier and Type | Method and Description |
|---|---|
AbstractLoggingAdvisingAppendable |
append(char c) |
AbstractLoggingAdvisingAppendable |
append(CharSequence csq) |
AbstractLoggingAdvisingAppendable |
append(CharSequence csq,
int start,
int end) |
AbstractLoggingAdvisingAppendable |
appendLoggingFunctionInvocation(LoggingFunctionInvocation funCall,
com.google.common.collect.ImmutableList<com.google.common.base.Function<String,String>> escapers)
Called whenever a logging function is being rendered.
|
protected abstract void |
doAppend(char c) |
protected abstract void |
doAppend(CharSequence csq) |
protected abstract void |
doAppend(CharSequence csq,
int start,
int end) |
protected abstract void |
doAppendLoggingFunctionInvocation(LoggingFunctionInvocation funCall,
com.google.common.collect.ImmutableList<com.google.common.base.Function<String,String>> escapers) |
protected abstract void |
doEnterLoggableElement(LogStatement statement) |
protected abstract void |
doExitLoggableElement() |
AbstractLoggingAdvisingAppendable |
enterLoggableElement(LogStatement statement)
Called whenever a loggable element is entered.
|
AbstractLoggingAdvisingAppendable |
exitLoggableElement()
Called whenever a loggable element is exited.
|
buffering, delegating, escapePlaceholder, getSanitizedContentDirectionality, getSantizedContentKind, notifyContentDirectionality, notifyContentKind, setSanitizedContentDirectionality, setSanitizedContentKind, stringCoercingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsoftLimitReachedpublic final AbstractLoggingAdvisingAppendable append(CharSequence csq) throws IOException
append in interface AdvisingAppendableappend in interface Appendableappend in class LoggingAdvisingAppendableIOExceptionpublic final AbstractLoggingAdvisingAppendable append(CharSequence csq, int start, int end) throws IOException
append in interface AdvisingAppendableappend in interface Appendableappend in class LoggingAdvisingAppendableIOExceptionpublic final AbstractLoggingAdvisingAppendable append(char c) throws IOException
append in interface AdvisingAppendableappend in interface Appendableappend in class LoggingAdvisingAppendableIOExceptionpublic final AbstractLoggingAdvisingAppendable appendLoggingFunctionInvocation(LoggingFunctionInvocation funCall, com.google.common.collect.ImmutableList<com.google.common.base.Function<String,String>> escapers) throws IOException
appendLoggingFunctionInvocation in class LoggingAdvisingAppendablefunCall - The function invocationescapers - The escapers to apply to the result. NOTE: this should be SoyJavaPrintDirective
or similar but that would cause cycles between soy.data and soy.shared.restrictedIOExceptionpublic final AbstractLoggingAdvisingAppendable enterLoggableElement(LogStatement statement)
LoggingAdvisingAppendableenterLoggableElement in class LoggingAdvisingAppendablepublic final AbstractLoggingAdvisingAppendable exitLoggableElement()
LoggingAdvisingAppendableexitLoggableElement in class LoggingAdvisingAppendableprotected abstract void doAppend(CharSequence csq) throws IOException
IOExceptionprotected abstract void doAppend(CharSequence csq, int start, int end) throws IOException
IOExceptionprotected abstract void doAppend(char c)
throws IOException
IOExceptionprotected abstract void doEnterLoggableElement(LogStatement statement)
protected abstract void doExitLoggableElement()
protected abstract void doAppendLoggingFunctionInvocation(LoggingFunctionInvocation funCall, com.google.common.collect.ImmutableList<com.google.common.base.Function<String,String>> escapers) throws IOException
IOException