@Plugin(name="notEmpty", category="Converter") public final class VariablesNotEmptyReplacementConverter extends LogEventPatternConverter
Modifier and Type | Field and Description |
---|---|
private java.util.List<PatternFormatter> |
formatters |
LOGGER
CATEGORY
Modifier | Constructor and Description |
---|---|
private |
VariablesNotEmptyReplacementConverter(java.util.List<PatternFormatter> formatters)
Constructs the converter.
|
Modifier and Type | Method and Description |
---|---|
void |
format(LogEvent event,
java.lang.StringBuilder toAppendTo)
Formats an event into a string buffer.
|
static VariablesNotEmptyReplacementConverter |
newInstance(Configuration config,
java.lang.String[] options)
Gets an instance of the class.
|
format, handlesThrowable, isVariable
getName, getStyleClass
private final java.util.List<PatternFormatter> formatters
private VariablesNotEmptyReplacementConverter(java.util.List<PatternFormatter> formatters)
formatters
- The PatternFormatters to generate the text to manipulate.public static VariablesNotEmptyReplacementConverter newInstance(Configuration config, java.lang.String[] options)
config
- The current Configuration.options
- pattern options, may be null.public void format(LogEvent event, java.lang.StringBuilder toAppendTo)
format
in class LogEventPatternConverter
event
- event to format, may not be null.toAppendTo
- string buffer to which the formatted event will be appended. May not be null.