Class SentryLogbackAppenderAutoConfiguration

java.lang.Object
io.sentry.spring.boot.SentryLogbackAppenderAutoConfiguration

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

    • SentryLogbackAppenderAutoConfiguration

      public SentryLogbackAppenderAutoConfiguration()
  • Method Details

    • sentryLogbackInitializer

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