@Plugin(name="jndi", category="Lookup") public class JndiLookup extends AbstractLookup
| Constructor and Description |
|---|
JndiLookup()
Constructs a new instance or throw IllegalStateException if this feature is disabled.
|
| Modifier and Type | Method and Description |
|---|---|
String |
lookup(LogEvent event,
String key)
Looks up the value of the JNDI resource.
|
lookupCopyright © 1999-2021 Apache Software Foundation. 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.