- All Implemented Interfaces:
StrLookup
Looks up values from the log event.
-
Field Summary
Fields inherited from interface org.apache.logging.log4j.core.lookup.StrLookup
CATEGORY
-
Constructor Summary
Constructors
-
Method Summary
Looks up the value from the logging event.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.logging.log4j.core.lookup.StrLookup
evaluate
-
Constructor Details
-
EventLookup
public EventLookup()
-
Method Details
-
lookup
Looks up the value from the logging event.
- Parameters:
event
- The current LogEvent.
key
- the key to be looked up.
- Returns:
- The value of the specified log event field.