类 ConditionEvaluationReportLoggingListener

  • 所有已实现的接口:
    org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>

    public class ConditionEvaluationReportLoggingListener
    extends Object
    implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.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.

    • 方法详细资料

      • initialize

        public void initialize​(org.springframework.context.ConfigurableApplicationContext applicationContext)
        指定者:
        initialize 在接口中 org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
      • onApplicationEvent

        protected void onApplicationEvent​(org.springframework.context.ApplicationEvent event)