public class AutoConfigurationReportLoggingInitializer extends Object implements ApplicationContextInitializer<ConfigurableApplicationContext>
ApplicationContextInitializer
that writes the ConditionEvaluationReport
to the log. Reports are logged at the DEBUG
level unless there
was a problem, in which case they are the INFO
level is used.
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 © 2016 Pivotal Software, Inc.. All rights reserved.