Class StructuredDataLookup
java.lang.Object
org.apache.logging.log4j.core.lookup.StructuredDataLookup
- All Implemented Interfaces:
StrLookup
@Plugin(name="sd",
category="Lookup")
public class StructuredDataLookup
extends Object
implements StrLookup
Looks up keys from
StructuredDataMessage
log messages.-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
ID_KEY
Key to obtain the id of a structured message.- See Also:
-
TYPE_KEY
Key to obtain the type of a structured message.- See Also:
-
-
Constructor Details
-
StructuredDataLookup
public StructuredDataLookup()
-
-
Method Details
-
lookup
Returnsnull
. This Lookup plugin does not make sense outside the context of a LogEvent. -
lookup
Looks up the value for the key using the data in the LogEvent.
-