@Plugin(name="env", category="Lookup") public class EnvironmentLookup extends AbstractLookup
Constructor and Description |
---|
EnvironmentLookup() |
Modifier and Type | Method and Description |
---|---|
String |
lookup(LogEvent event,
String key)
Looks up the value of the environment variable.
|
lookup
Copyright © 1999-2017. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.