Package io.sentry.spring.boot
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 Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull io.sentry.spring.boot.SentryLogbackInitializer
sentryLogbackInitializer
(@NotNull SentryProperties sentryProperties)
-
Constructor Details
-
SentryLogbackAppenderAutoConfiguration
public SentryLogbackAppenderAutoConfiguration()
-
-
Method Details
-
sentryLogbackInitializer
@Bean @NotNull public @NotNull io.sentry.spring.boot.SentryLogbackInitializer sentryLogbackInitializer(@NotNull @NotNull SentryProperties sentryProperties)
-