public abstract class SingleFieldAppendingMarker extends LogstashMarker
| Modifier and Type | Field and Description |
|---|---|
static String |
MARKER_NAME_PREFIX |
| Constructor and Description |
|---|
SingleFieldAppendingMarker(String markerName,
String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFieldName() |
int |
hashCode() |
protected void |
writeFieldName(com.fasterxml.jackson.core.JsonGenerator generator)
Writes the field name to the generator.
|
protected abstract void |
writeFieldValue(com.fasterxml.jackson.core.JsonGenerator generator)
Writes the field value to the generator.
|
void |
writeTo(com.fasterxml.jackson.core.JsonGenerator generator)
Writes the data associated with this marker to the given
JsonGenerator. |
and, withpublic static final String MARKER_NAME_PREFIX
public String getFieldName()
public void writeTo(com.fasterxml.jackson.core.JsonGenerator generator)
throws IOException
LogstashMarkerJsonGenerator.writeTo in class LogstashMarkerIOExceptionprotected void writeFieldName(com.fasterxml.jackson.core.JsonGenerator generator)
throws IOException
IOExceptionprotected abstract void writeFieldValue(com.fasterxml.jackson.core.JsonGenerator generator)
throws IOException
IOExceptionpublic boolean equals(Object obj)
equals in interface org.slf4j.Markerequals in class org.slf4j.helpers.BasicMarkerpublic int hashCode()
hashCode in interface org.slf4j.MarkerhashCode in class org.slf4j.helpers.BasicMarkerCopyright © 2014. All Rights Reserved.