org.apache.logging.log4j.util.PropertySourcepublic class SpringPropertySource
extends java.lang.Object
implements org.apache.logging.log4j.util.PropertySource
| Constructor | Description |
|---|---|
SpringPropertySource(org.springframework.core.env.Environment environment) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsProperty(java.lang.String key) |
|
int |
getPriority() |
System properties take precendence followed by properties in Log4j properties files.
|
java.lang.String |
getProperty(java.lang.String key) |
public SpringPropertySource(org.springframework.core.env.Environment environment)
public int getPriority()
getPriority in interface org.apache.logging.log4j.util.PropertySourcepublic java.lang.String getProperty(java.lang.String key)
getProperty in interface org.apache.logging.log4j.util.PropertySourcepublic boolean containsProperty(java.lang.String key)
containsProperty in interface org.apache.logging.log4j.util.PropertySourceCopyright © 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.