クラス LoggingSystemProperties
java.lang.ObjectSE
org.springframework.boot.logging.LoggingSystemProperties
- 既知の直属サブクラス
LogbackLoggingSystemProperties
後でログ構成ファイルで使用できるシステムプロパティを設定するユーティリティ。
- 導入:
- 2.0.0
- 作成者:
- Andy Wilkinson, Phillip Webb, Madhura Bhave, Vedran Pavic, Robert Thornton, Edd ú Mel é ndez, Jonatan Ivanov
- 関連事項:
コンストラクターの概要
コンストラクターコンストラクター説明LoggingSystemProperties(Environment environment) 新しいLoggingSystemPropertiesインスタンスを作成します。LoggingSystemProperties(Environment environment, BiConsumerSE<StringSE, StringSE> setter) 新しいLoggingSystemPropertiesインスタンスを作成します。LoggingSystemProperties(Environment environment, FunctionSE<StringSE, StringSE> defaultValueResolver, BiConsumerSE<StringSE, StringSE> setter) 新しいLoggingSystemPropertiesインスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明final voidapply()final voidprotected voidapply(LogFile logFile, PropertyResolver resolver) protected CharsetSEprotected final voidsetSystemProperty(StringSE name, StringSE value) システムプロパティを設定します。
コンストラクターの詳細
LoggingSystemProperties
新しいLoggingSystemPropertiesインスタンスを作成します。- パラメーター:
environment- ソース環境
LoggingSystemProperties
新しいLoggingSystemPropertiesインスタンスを作成します。- パラメーター:
environment- ソース環境setter- プロパティを適用するために使用される setter、またはシステムプロパティに使用されるnull- 導入:
- 2.4.2
LoggingSystemProperties
public LoggingSystemProperties(Environment environment, FunctionSE<StringSE, StringSE> defaultValueResolver, BiConsumerSE<StringSE, StringSE> setter) 新しいLoggingSystemPropertiesインスタンスを作成します。- パラメーター:
environment- ソース環境defaultValueResolver- デフォルト値またはnullを解決するために使用される関数setter- プロパティを適用するために使用される setter、またはシステムプロパティに使用されるnull- 導入:
- 3.2.0
メソッドの詳細
getDefaultCharset
apply
public final void apply()apply
apply
setSystemProperty
システムプロパティを設定します。- パラメーター:
name- プロパティ名value- 値