public class ConfigurationSupport extends Object
Modifier and Type | Field and Description |
---|---|
static char |
EQ |
static String |
MULTI_VALUE_DELIMITTER |
Modifier and Type | Method and Description |
---|---|
static void |
setAdditionalFields(String spec,
GelfMessageAssembler gelfMessageAssembler)
Set the additional (static) fields.
|
static void |
setAdditionalFieldTypes(String spec,
GelfMessageAssembler gelfMessageAssembler)
Set the additional field types.
|
static void |
setDynamicMdcFields(String spec,
GelfMessageAssembler gelfMessageAssembler)
Set the dynamic MDC fields.
|
static void |
setDynamicMdcFieldTypes(String spec,
GelfMessageAssembler gelfMessageAssembler)
Set the dynamic mdc field types.
|
static void |
setMdcFields(String spec,
GelfMessageAssembler gelfMessageAssembler)
Set the MDC fields.
|
public static final String MULTI_VALUE_DELIMITTER
public static final char EQ
public static void setAdditionalFields(String spec, GelfMessageAssembler gelfMessageAssembler)
spec
- field=value,field1=value1, ...gelfMessageAssembler
- the Gelf message assembler to apply the configurationpublic static void setMdcFields(String spec, GelfMessageAssembler gelfMessageAssembler)
spec
- field, field2, field3gelfMessageAssembler
- the Gelf message assembler to apply the configurationpublic static void setDynamicMdcFields(String spec, GelfMessageAssembler gelfMessageAssembler)
spec
- field, .*FieldSuffix, fieldPrefix.*gelfMessageAssembler
- the GelfMessageAssembler
.public static void setAdditionalFieldTypes(String spec, GelfMessageAssembler gelfMessageAssembler)
spec
- field=String,field1=Double, ... See GelfMessage
for supported types.gelfMessageAssembler
- the Gelf message assembler to apply the configurationpublic static void setDynamicMdcFieldTypes(String spec, GelfMessageAssembler gelfMessageAssembler)
spec
- field=String,field1=Double, ... See GelfMessage
for supported types.gelfMessageAssembler
- the Gelf message assembler to apply the configurationCopyright © 2013–2023. All rights reserved.