public class StackHashJsonProvider extends AbstractFieldJsonProvider<ch.qos.logback.classic.spi.ILoggingEvent>
stack_hash
Json field on a log with a stack trace
This hash is computed using StackHasher
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME |
Constructor and Description |
---|
StackHashJsonProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(String exclusionPattern) |
List<String> |
getExcludes() |
void |
setExcludes(List<String> exclusionPatterns) |
void |
setExclusions(String comaSeparatedPatterns)
Set exclusion patterns as a list of coma separated patterns
|
void |
start() |
void |
writeTo(com.fasterxml.jackson.core.JsonGenerator generator,
ch.qos.logback.classic.spi.ILoggingEvent event)
Writes information about the event,
to the given generator.
|
getFieldName, setFieldName
isStarted, prepareForDeferredProcessing, stop
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
public static final String FIELD_NAME
public void start()
start
in interface ch.qos.logback.core.spi.LifeCycle
start
in class AbstractJsonProvider<ch.qos.logback.classic.spi.ILoggingEvent>
public void addExclude(String exclusionPattern)
public void setExclusions(String comaSeparatedPatterns)
comaSeparatedPatterns
- list of coma separated patternspublic void writeTo(com.fasterxml.jackson.core.JsonGenerator generator, ch.qos.logback.classic.spi.ILoggingEvent event) throws IOException
JsonProvider
IOException
Copyright © 2018. All rights reserved.