@Plugin(name="sys", category="Lookup") public class SystemPropertiesLookup extends AbstractLookup
| Modifier and Type | Field and Description |
|---|---|
private static Logger |
LOGGER |
private static Marker |
LOOKUP |
| Constructor and Description |
|---|
SystemPropertiesLookup() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
lookup(LogEvent event,
java.lang.String key)
Looks up the value for the key using the data in the LogEvent.
|
lookuppublic java.lang.String lookup(LogEvent event, java.lang.String key)
event - The current LogEvent.key - the key to be looked up, may be null