public class ConditionEvaluationReportLoggingListener extends ObjectSE implements ApplicationContextInitializer<ConfigurableApplicationContext>
ConditionEvaluationReport
をログに書き込む ApplicationContextInitializer
。レポートは DEBUG
レベルでログに記録されます。クラッシュレポートは、レポートを表示するためにデバッグを有効にしてユーザーが再度実行することを提案する情報出力をトリガーします。この初期化子は、複数のアプリケーションコンテキストインスタンス間で共有されることを意図していません。
コンストラクターと説明 |
---|
ConditionEvaluationReportLoggingListener() |
ConditionEvaluationReportLoggingListener(LogLevel logLevelForReport) |
修飾子と型 | メソッドと説明 |
---|---|
LogLevel | getLogLevelForReport() |
void | initialize(ConfigurableApplicationContext applicationContext) |
void | logAutoConfigurationReport(boolean isCrashReport) |
protected void | onApplicationEvent(ApplicationEvent event) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public ConditionEvaluationReportLoggingListener()
public ConditionEvaluationReportLoggingListener(LogLevel logLevelForReport)
public LogLevel getLogLevelForReport()
public void initialize(ConfigurableApplicationContext applicationContext)
ApplicationContextInitializer<ConfigurableApplicationContext>
の initialize
protected void onApplicationEvent(ApplicationEvent event)
public void logAutoConfigurationReport(boolean isCrashReport)