Class SentryLogbackAppenderAutoConfiguration


  • @Configuration(proxyBeanMethods=false)
    @ConditionalOnClass({ch.qos.logback.classic.LoggerContext.class,io.sentry.logback.SentryAppender.class})
    @ConditionalOnProperty(name="sentry.logging.enabled",
                           havingValue="true",
                           matchIfMissing=true)
    @ConditionalOnBean(SentryProperties.class)
    public class SentryLogbackAppenderAutoConfiguration
    extends java.lang.Object
    Auto-configures SentryAppender.
    • Constructor Detail

      • SentryLogbackAppenderAutoConfiguration

        public SentryLogbackAppenderAutoConfiguration()
    • Method Detail

      • sentryLogbackInitializer

        @Bean
        @NotNull
        public @NotNull io.sentry.spring.boot.SentryLogbackInitializer sentryLogbackInitializer​(@NotNull
                                                                                                @NotNull SentryProperties sentryProperties)