public class AutoConfigurationReportLoggingInitializer extends Object implements ApplicationContextInitializer<ConfigurableApplicationContext>
ApplicationContextInitializer
that writes the ConditionEvaluationReport
to the log. Reports are logged at the DEBUG
level. A crash
report triggers an info output suggesting the user runs again with debug enabled to
display the report.
This initializer is not intended to be shared across multiple application context instances.
Constructor and Description |
---|
AutoConfigurationReportLoggingInitializer() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(ConfigurableApplicationContext applicationContext) |
void |
logAutoConfigurationReport(boolean isCrashReport) |
protected void |
onApplicationEvent(ApplicationEvent event) |
public AutoConfigurationReportLoggingInitializer()
public void initialize(ConfigurableApplicationContext applicationContext)
initialize
in interface ApplicationContextInitializer<ConfigurableApplicationContext>
protected void onApplicationEvent(ApplicationEvent event)
public void logAutoConfigurationReport(boolean isCrashReport)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.