Class AutoConfigurationReportLoggingInitializer
- java.lang.Object
- org.springframework.boot.autoconfigure.logging.AutoConfigurationReportLoggingInitializer
- All Implemented Interfaces:
org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
public class AutoConfigurationReportLoggingInitializer extends Object implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
ApplicationContextInitializer
that writes theConditionEvaluationReport
to the log. Reports are logged at theDEBUG
level unless there was a problem, in which case they are theINFO
level is used.This initializer is not intended to be shared across multiple application context instances.
Constructor Summary
Constructors Constructor Description AutoConfigurationReportLoggingInitializer()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(org.springframework.context.ConfigurableApplicationContext applicationContext)
void
logAutoConfigurationReport(boolean isCrashReport)
protected void
onApplicationEvent(org.springframework.context.ApplicationEvent event)
Constructor Detail
AutoConfigurationReportLoggingInitializer
public AutoConfigurationReportLoggingInitializer()
Method Detail
initialize
public void initialize(org.springframework.context.ConfigurableApplicationContext applicationContext)
- Specified by:
initialize
in interfaceorg.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
onApplicationEvent
protected void onApplicationEvent(org.springframework.context.ApplicationEvent event)
logAutoConfigurationReport
public void logAutoConfigurationReport(boolean isCrashReport)