public class ContextNameJsonProvider extends AbstractFieldJsonProvider<ILoggingEvent>
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_CONTEXT_NAME |
context| Constructor and Description |
|---|
ContextNameJsonProvider() |
| Modifier and Type | Method and Description |
|---|---|
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_CONTEXT_NAME
public void writeTo(JsonGenerator generator, ILoggingEvent event) throws IOException
JsonProviderIOExceptionCopyright © 2020. All rights reserved.