public interface Connection extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
addEventSendCallback(EventSendCallback eventSendCallback)
Add a callback that is called when an exception occurs while attempting to
send events to the Sentry server.
|
void |
send(Event event)
Sends an event to the Sentry server.
|
void send(Event event) throws ConnectionException
event
- captured event to add in Sentry.ConnectionException
- Thrown when an Event send fails.void addEventSendCallback(EventSendCallback eventSendCallback)
eventSendCallback
- callback instanceCopyright © 2012–2017. All rights reserved.