Package | Description |
---|---|
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
Modifier and Type | Method | Description |
---|---|---|
GelfLayout.CompressionType |
GelfLayout.Builder.getCompressionType() |
|
static GelfLayout.CompressionType |
GelfLayout.CompressionType.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static GelfLayout.CompressionType[] |
GelfLayout.CompressionType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
static GelfLayout |
GelfLayout.createLayout(String host,
KeyValuePair[] additionalFields,
GelfLayout.CompressionType compressionType,
int compressionThreshold,
boolean includeStacktrace) |
Deprecated.
Use
GelfLayout.newBuilder() instead |
B |
GelfLayout.Builder.setCompressionType(GelfLayout.CompressionType compressionType) |
Compression to use (optional, defaults to GZIP).
|
Constructor | Description |
---|---|
GelfLayout(String host,
KeyValuePair[] additionalFields,
GelfLayout.CompressionType compressionType,
int compressionThreshold,
boolean includeStacktrace) |
Deprecated.
Use
GelfLayout.newBuilder() instead |
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.