public class LogLevelValueJsonProvider extends AbstractFieldJsonProvider<ILoggingEvent> implements FieldNamesAware<LogstashFieldNames>
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_LEVEL_VALUE |
context| Constructor and Description |
|---|
LogLevelValueJsonProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
setFieldNames(LogstashFieldNames fieldNames) |
void |
writeTo(JsonGenerator generator,
ILoggingEvent event)
Writes information about the event,
to the given generator.
|
getFieldName, setFieldNameisStarted, prepareForDeferredProcessing, start, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextpublic static final String FIELD_LEVEL_VALUE
public void writeTo(JsonGenerator generator, ILoggingEvent event) throws IOException
JsonProviderwriteTo in interface JsonProvider<ILoggingEvent>IOExceptionpublic void setFieldNames(LogstashFieldNames fieldNames)
setFieldNames in interface FieldNamesAware<LogstashFieldNames>Copyright © 2019. All rights reserved.