Uses of Class
org.apache.logging.log4j.message.StructuredDataId
-
Packages that use StructuredDataId Package Description org.apache.logging.log4j.core.layout Log4j 2 Layout support.org.apache.logging.log4j.message Public Message Types used for Log4j 2. -
-
Uses of StructuredDataId in org.apache.logging.log4j.core.layout
Methods in org.apache.logging.log4j.core.layout that return StructuredDataId Modifier and Type Method Description StructuredDataId
LoggerFields. getSdId()
-
Uses of StructuredDataId in org.apache.logging.log4j.message
Fields in org.apache.logging.log4j.message declared as StructuredDataId Modifier and Type Field Description static StructuredDataId
StructuredDataId. META
RFC 5424 Meta.static StructuredDataId
StructuredDataId. ORIGIN
RFC 5424 Origin.static StructuredDataId
StructuredDataId. TIME_QUALITY
RFC 5424 Time Quality.Methods in org.apache.logging.log4j.message that return StructuredDataId Modifier and Type Method Description StructuredDataId
StructuredDataMessage. getId()
Returns this message id.StructuredDataId
StructuredDataId. makeId(String defaultId, int anEnterpriseNumber)
Creates an id based on the current id.StructuredDataId
StructuredDataId. makeId(StructuredDataId id)
Creates an id using another id to supply default values.Methods in org.apache.logging.log4j.message with parameters of type StructuredDataId Modifier and Type Method Description 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, StringBuilder sb)
Formats the structured data as described in RFC 5424.StructuredDataId
StructuredDataId. makeId(StructuredDataId id)
Creates an id using another id to supply default values.protected void
StructuredDataMessage. setId(StructuredDataId id)
Sets the id.Constructors in org.apache.logging.log4j.message with parameters of type StructuredDataId Constructor Description StructuredDataMessage(StructuredDataId id, String msg, String type)
Creates a StructuredDataMessage using a StructuredDataId, message, and type (max 32 characters).StructuredDataMessage(StructuredDataId id, String msg, String type, int maxLength)
Creates a StructuredDataMessage using a StructuredDataId, message, and type (max 32 characters).StructuredDataMessage(StructuredDataId id, String msg, String type, Map<String,String> data)
Creates a StructuredDataMessage using a StructuredDataId, message, type (max 32 characters), and an initial map of structured data to include.StructuredDataMessage(StructuredDataId id, String msg, String type, Map<String,String> data, int maxLength)
Creates a StructuredDataMessage using a StructuredDataId, message, type (max 32 characters), and an initial map of structured data to include.
-