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,io.sentry.logback.SentryAppender.class})
@ConditionalOnProperty(name="sentry.logging.enabled",
havingValue="true",
matchIfMissing=true)
@ConditionalOnBean(SentryProperties.class)
public class SentryLogbackAppenderAutoConfiguration
extends Object
Auto-configures
SentryAppender.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull io.sentry.spring.boot.SentryLogbackInitializersentryLogbackInitializer(@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)
-