Class StructuredDataLookup
- java.lang.Object
-
- org.apache.logging.log4j.core.lookup.StructuredDataLookup
-
-
Constructor Summary
Constructors Constructor Description StructuredDataLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringlookup(java.lang.String key)Returnsnull.java.lang.Stringlookup(LogEvent event, java.lang.String key)Looks up the value for the key using the data in the LogEvent.
-
-
-
Field Detail
-
ID_KEY
public static final java.lang.String ID_KEY
Key to obtain the id of a structured message.- See Also:
- Constant Field Values
-
TYPE_KEY
public static final java.lang.String TYPE_KEY
Key to obtain the type of a structured message.- See Also:
- Constant Field Values
-
-
Method Detail
-
lookup
public java.lang.String lookup(java.lang.String key)
Returnsnull. This Lookup plugin does not make sense outside the context of a LogEvent.
-
lookup
public java.lang.String lookup(LogEvent event, java.lang.String key)
Looks up the value for the key using the data in the LogEvent.
-
-