- java.lang.Object
-
- org.apache.logging.log4j.spring.boot.SpringLookup
-
- All Implemented Interfaces:
org.apache.logging.log4j.core.config.LoggerContextAware
, org.apache.logging.log4j.core.lookup.StrLookup
@Plugin(name="spring",
category="Lookup")
public class SpringLookup
extends java.lang.Object
implements org.apache.logging.log4j.core.config.LoggerContextAware, org.apache.logging.log4j.core.lookup.StrLookup
Lookup for Spring properties.
-
-
Field Summary
-
Fields inherited from interface org.apache.logging.log4j.core.lookup.StrLookup
CATEGORY
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type |
Method |
Description |
java.lang.String |
lookup(java.lang.String key) |
|
java.lang.String |
lookup(org.apache.logging.log4j.core.LogEvent event,
java.lang.String key) |
|
void |
setLoggerContext(org.apache.logging.log4j.core.LoggerContext loggerContext) |
|
-
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, evaluate
-
-
Constructor Detail
-
SpringLookup
public SpringLookup()
Copyright © 1999-2022 The 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.