Package io.sentry.spring.boot4
Class SentryLogbackInitializer
java.lang.Object
io.sentry.spring.boot4.SentryLogbackInitializer
- All Implemented Interfaces:
EventListener,ApplicationListener<ApplicationEvent>,GenericApplicationListener,SmartApplicationListener,Ordered
Registers
SentryAppender after Spring context gets refreshed.-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(@NotNull ApplicationEvent event) booleansupportsEventType(@NotNull ResolvableType eventType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecutionMethods inherited from interface org.springframework.context.event.GenericApplicationListener
supportsEventTypeMethods inherited from interface org.springframework.context.event.SmartApplicationListener
getListenerId, getOrder, supportsSourceType
-
Constructor Details
-
SentryLogbackInitializer
-
-
Method Details
-
supportsEventType
- Specified by:
supportsEventTypein interfaceGenericApplicationListener
-
onApplicationEvent
- Specified by:
onApplicationEventin interfaceApplicationListener<ApplicationEvent>
-