Package | Description |
---|---|
org.apache.logging.log4j.message |
Public Message Types used for Log4j 2.
|
Modifier and Type | Method and Description |
---|---|
private StructuredDataMessage.Format |
StructuredDataMessage.getFormat(java.lang.String[] formats) |
static StructuredDataMessage.Format |
StructuredDataMessage.Format.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StructuredDataMessage.Format[] |
StructuredDataMessage.Format.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
StructuredDataMessage.asString(StructuredDataMessage.Format format,
StructuredDataId structuredDataId)
Formats the structured data as described in RFC 5424.
|
void |
StructuredDataMessage.asString(StructuredDataMessage.Format format,
StructuredDataId structuredDataId,
java.lang.StringBuilder sb)
Formats the structured data as described in RFC 5424.
|