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 SummaryConstructorsConstructorDescriptionLogbackLoggingSystemProperties(org.springframework.core.env.Environment environment) LogbackLoggingSystemProperties(org.springframework.core.env.Environment environment, BiConsumer<String, String> setter) Create a newLogbackLoggingSystemPropertiesinstance.LogbackLoggingSystemProperties(org.springframework.core.env.Environment environment, Function<String, String> defaultValueResolver, BiConsumer<String, String> setter) Create a newLoggingSystemPropertiesinstance.
- 
Method SummaryMethods inherited from class org.springframework.boot.logging.LoggingSystemPropertiesapply, apply, getDefaultCharset, getDefaultConsoleCharset, setSystemProperty
- 
Constructor Details- 
LogbackLoggingSystemPropertiespublic LogbackLoggingSystemProperties(org.springframework.core.env.Environment environment) 
- 
LogbackLoggingSystemPropertiespublic LogbackLoggingSystemProperties(org.springframework.core.env.Environment environment, BiConsumer<String, String> setter) Create a newLogbackLoggingSystemPropertiesinstance.- Parameters:
- environment- the source environment
- setter- setter used to apply the property
- Since:
- 2.4.3
 
- 
LogbackLoggingSystemPropertiespublic LogbackLoggingSystemProperties(org.springframework.core.env.Environment environment, Function<String, String> defaultValueResolver, BiConsumer<String, String> setter) Create a newLoggingSystemPropertiesinstance.- Parameters:
- environment- the source environment
- defaultValueResolver- function used to resolve default values or- null
- setter- setter used to apply the property or- nullfor system properties
- Since:
- 3.2.0
 
 
- 
- 
Method Details- 
getConsoleDescription copied from class:LoggingSystemPropertiesReturns theConsoleto use.- Overrides:
- getConsolein class- LoggingSystemProperties
- Returns:
- the Consoleto use
 
- 
getDefaultFileCharsetDescription copied from class:LoggingSystemPropertiesReturns the default file charset.- Overrides:
- getDefaultFileCharsetin class- LoggingSystemProperties
- Returns:
- the default file charset
 
- 
apply- Overrides:
- applyin class- LoggingSystemProperties
 
 
-