Class StructuredDataLookup
java.lang.Object
org.apache.logging.log4j.core.lookup.AbstractLookup
org.apache.logging.log4j.core.lookup.StructuredDataLookup
- All Implemented Interfaces:
- StrLookup
Looks up keys from 
StructuredDataMessage log messages.- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.logging.log4j.core.lookup.AbstractLookupevaluate, lookup
- 
Field Details- 
ID_KEYKey to obtain the id of a structured message.- See Also:
 
- 
TYPE_KEYKey to obtain the type of a structured message.- See Also:
 
 
- 
- 
Constructor Details- 
StructuredDataLookuppublic StructuredDataLookup()
 
- 
- 
Method Details- 
lookupLooks up the value for the key using the data in the LogEvent.- Parameters:
- event- The current LogEvent.
- key- The key to be looked up, may be null.
- Returns:
- The value associated with the key.
 
 
-