- All Implemented Interfaces:
StrLookup
Looks up keys from system properties.
-
Field Summary
Fields inherited from interface org.apache.logging.log4j.core.lookup.StrLookup
CATEGORY
-
Constructor Summary
Constructors
-
Method Summary
Looks up the value for the key using the data in the LogEvent.
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
-
SystemPropertiesLookup
public SystemPropertiesLookup()
-
Method Details
-
lookup
Looks 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.