@Plugin(name="FullLocationPatternConverter", category="Converter") public final class FullLocationPatternConverter extends LogEventPatternConverter implements LocationAware
Modifier and Type | Field and Description |
---|---|
private static FullLocationPatternConverter |
INSTANCE
Singleton.
|
LOGGER
CATEGORY
Modifier | Constructor and Description |
---|---|
private |
FullLocationPatternConverter()
Private constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
format(LogEvent event,
java.lang.StringBuilder output)
Formats an event into a string buffer.
|
static FullLocationPatternConverter |
newInstance(java.lang.String[] options)
Obtains an instance of pattern converter.
|
boolean |
requiresLocation() |
format, handlesThrowable, isVariable
getName, getStyleClass
private static final FullLocationPatternConverter INSTANCE
private FullLocationPatternConverter()
public static FullLocationPatternConverter newInstance(java.lang.String[] options)
options
- options, may be null.public void format(LogEvent event, java.lang.StringBuilder output)
format
in class LogEventPatternConverter
event
- event to format, may not be null.output
- string buffer to which the formatted event will be appended. May not be null.public boolean requiresLocation()
requiresLocation
in interface LocationAware