Package | Description |
---|---|
biz.paluch.logging.gelf |
Field models and interfaces for logstash-gelf.
|
biz.paluch.logging.gelf.intern |
Internal implementation package containing classes providing
GelfMessage serialization
and senders. |
Modifier and Type | Method and Description |
---|---|
static GelfMessageBuilder |
GelfMessageBuilder.newInstance()
Creates a new instance of the GelfMessageBuilder.
|
GelfMessageBuilder |
GelfMessageBuilder.withAdditionalFieldTypes(Map<String,String> additionalFieldTypes)
Set additional field types
|
GelfMessageBuilder |
GelfMessageBuilder.withDynamicMdcFieldTypes(Map<Pattern,String> dynamicMdcFieldTypes)
Set dynamic mdc field types
|
GelfMessageBuilder |
GelfMessageBuilder.withFacility(String facility)
Set the facility.
|
GelfMessageBuilder |
GelfMessageBuilder.withField(String key,
String value)
Add an additional field.
|
GelfMessageBuilder |
GelfMessageBuilder.withFields(Map<String,String> additionalFields)
Add additional fields.
|
GelfMessageBuilder |
GelfMessageBuilder.withFullMessage(String fullMessage)
Set the full_message.
|
GelfMessageBuilder |
GelfMessageBuilder.withHost(String host)
Set the host.
|
GelfMessageBuilder |
GelfMessageBuilder.withJavaTimestamp(long javaTimestamp)
Set the java timestamp (millis).
|
GelfMessageBuilder |
GelfMessageBuilder.withLevel(String level)
Set the level (severity).
|
GelfMessageBuilder |
GelfMessageBuilder.withMaximumMessageSize(int maximumMessageSize)
Set the max message size.
|
GelfMessageBuilder |
GelfMessageBuilder.withShortMessage(String shortMessage)
Set the short_message.
|
GelfMessageBuilder |
GelfMessageBuilder.withVersion(String version)
Set the version.
|
Modifier and Type | Class and Description |
---|---|
class |
PoolingGelfMessageBuilder |
Modifier and Type | Method and Description |
---|---|
GelfMessageBuilder |
PoolingGelfMessageBuilder.recycle()
Recycle this
GelfMessageBuilder to a default state. |
Copyright © 2013–2023. All rights reserved.