Class LogbackLoggingSystemProperties
java.lang.Object
org.springframework.boot.logging.LoggingSystemProperties
org.springframework.boot.logging.logback.LogbackLoggingSystemProperties
LoggingSystemProperties
for Logback.- Since:
- 2.4.0
- See Also:
-
Constructor Summary
ConstructorDescriptionLogbackLoggingSystemProperties
(org.springframework.core.env.Environment environment) LogbackLoggingSystemProperties
(org.springframework.core.env.Environment environment, BiConsumer<String, String> setter) Create a newLogbackLoggingSystemProperties
instance.LogbackLoggingSystemProperties
(org.springframework.core.env.Environment environment, Function<String, String> defaultValueResolver, BiConsumer<String, String> setter) Create a newLoggingSystemProperties
instance. -
Method Summary
Methods inherited from class org.springframework.boot.logging.LoggingSystemProperties
apply, apply, setSystemProperty
-
Constructor Details
-
LogbackLoggingSystemProperties
public LogbackLoggingSystemProperties(org.springframework.core.env.Environment environment) -
LogbackLoggingSystemProperties
public LogbackLoggingSystemProperties(org.springframework.core.env.Environment environment, BiConsumer<String, String> setter) Create a newLogbackLoggingSystemProperties
instance.- Parameters:
environment
- the source environmentsetter
- setter used to apply the property- Since:
- 2.4.3
-
LogbackLoggingSystemProperties
public LogbackLoggingSystemProperties(org.springframework.core.env.Environment environment, Function<String, String> defaultValueResolver, BiConsumer<String, String> setter) Create a newLoggingSystemProperties
instance.- Parameters:
environment
- the source environmentdefaultValueResolver
- function used to resolve default values ornull
setter
- setter used to apply the property ornull
for system properties- Since:
- 3.2.0
-
-
Method Details
-
getDefaultCharset
- Overrides:
getDefaultCharset
in classLoggingSystemProperties
-
apply
- Overrides:
apply
in classLoggingSystemProperties
-