クラス LoggingSystemProperties

java.lang.ObjectSE
org.springframework.boot.logging.LoggingSystemProperties
既知の直属サブクラス
LogbackLoggingSystemProperties

public class LoggingSystemProperties extends ObjectSE
後でログ構成ファイルで使用できるシステムプロパティを設定するユーティリティ。
導入:
2.0.0
作成者:
Andy Wilkinson, Phillip Webb, Madhura Bhave, Vedran Pavic, Robert Thornton, Edd ú Mel é ndez, Jonatan Ivanov
関連事項:
  • コンストラクターの詳細

    • LoggingSystemProperties

      public LoggingSystemProperties(Environment environment)
      新しい LoggingSystemProperties インスタンスを作成します。
      パラメーター:
      environment - ソース環境
    • LoggingSystemProperties

      public LoggingSystemProperties(Environment environment, BiConsumerSE<StringSE,StringSE> setter)
      新しい 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

      protected CharsetSE getDefaultCharset()
    • apply

      public final void apply()
    • apply

      public final void apply(LogFile logFile)
    • apply

      protected void apply(LogFile logFile, PropertyResolver resolver)
    • setSystemProperty

      protected final void setSystemProperty(StringSE name, StringSE value)
      システムプロパティを設定します。
      パラメーター:
      name - プロパティ名
      value - 値