Package io.sentry.spring.boot.jakarta
Class SentryLogbackInitializer
java.lang.Object
io.sentry.spring.boot.jakarta.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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onApplicationEvent
(@NotNull ApplicationEvent event) boolean
supportsEventType
(@NotNull ResolvableType eventType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.event.GenericApplicationListener
supportsEventType
Methods inherited from interface org.springframework.context.event.SmartApplicationListener
getListenerId, getOrder, supportsSourceType
-
Constructor Details
-
SentryLogbackInitializer
-
-
Method Details
-
supportsEventType
- Specified by:
supportsEventType
in interfaceGenericApplicationListener
-
onApplicationEvent
- Specified by:
onApplicationEvent
in interfaceApplicationListener<ApplicationEvent>
-