クラス 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, @Nullable BiConsumerSE<StringSE, @Nullable StringSE> setter) 新しいLoggingSystemPropertiesインスタンスを作成します。LoggingSystemProperties(Environment environment, @Nullable FunctionSE<@Nullable StringSE, @Nullable StringSE> defaultValueResolver, @Nullable BiConsumerSE<StringSE, @Nullable StringSE> setter) 新しいLoggingSystemPropertiesインスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明final voidapply()final voidprotected voidapply(@Nullable LogFile logFile, PropertyResolver resolver) protected @Nullable ConsoleSE使用するConsoleSE を返します。protected CharsetSEデフォルトのコンソール文字セットを返します。protected CharsetSEデフォルトのファイル文字セットを返します。protected final voidsetSystemProperty(StringSE name, @Nullable StringSE value) システムプロパティを設定します。
コンストラクターの詳細
LoggingSystemProperties
新しいLoggingSystemPropertiesインスタンスを作成します。- パラメーター:
environment- ソース環境
LoggingSystemProperties
public LoggingSystemProperties(Environment environment, @Nullable BiConsumerSE<StringSE, @Nullable StringSE> setter) 新しいLoggingSystemPropertiesインスタンスを作成します。- パラメーター:
environment- ソース環境setter- プロパティを適用するために使用される setter、またはシステムプロパティに使用されるnull- 導入:
- 2.4.2
LoggingSystemProperties
public LoggingSystemProperties(Environment environment, @Nullable FunctionSE<@Nullable StringSE, @Nullable StringSE> defaultValueResolver, @Nullable BiConsumerSE<StringSE, @Nullable StringSE> setter) 新しいLoggingSystemPropertiesインスタンスを作成します。- パラメーター:
environment- ソース環境defaultValueResolver- デフォルト値またはnullを解決するために使用される関数setter- プロパティを適用するために使用される setter、またはシステムプロパティに使用されるnull- 導入:
- 3.2.0
メソッドの詳細
getConsole
apply
public final void apply()apply
apply
getDefaultConsoleCharset
デフォルトのコンソール文字セットを返します。- 戻り値:
- デフォルトのコンソール文字セット
- 導入:
- 3.5.0
getDefaultFileCharset
setSystemProperty