StrLookup@Plugin(name="java", category="Lookup") public class JavaLookup extends AbstractLookup
| Constructor | Description |
|---|---|
JavaLookup() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getHardware() |
Accessible through the Lookup key
hw. |
String |
getLocale() |
Accessible through the Lookup key
locale. |
String |
getOperatingSystem() |
Accessible through the Lookup key
os. |
String |
getRuntime() |
Accessible through the Lookup key
runtime. |
String |
getVirtualMachine() |
Accessible through the Lookup key
vm. |
String |
lookup(LogEvent event,
String key) |
Looks up the value of the environment variable.
|
lookuppublic String getHardware()
hw.public String getLocale()
locale.public String getOperatingSystem()
os.public String getRuntime()
runtime.public String getVirtualMachine()
vm.Copyright © 1999-2018. 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.