Package | Description |
---|---|
io.sentry | |
io.sentry.event.helper |
Modifier and Type | Method and Description |
---|---|
protected SentryClient |
DefaultSentryClientFactory.configureSentryClient(SentryClient sentryClient,
Dsn dsn)
Configures a
SentryClient instance after it has been constructed. |
abstract SentryClient |
SentryClientFactory.createSentryClient(Dsn dsn)
Creates an instance of Sentry given a DSN.
|
SentryClient |
DefaultSentryClientFactory.createSentryClient(Dsn dsn) |
static SentryClient |
Sentry.getStoredClient()
Returns the last statically stored
SentryClient instance. |
static SentryClient |
Sentry.init()
Initialize and statically store a
SentryClient by looking up
a Dsn and automatically choosing a SentryClientFactory . |
static SentryClient |
Sentry.init(SentryClientFactory sentryClientFactory)
Initialize and statically store a
SentryClient by looking up
a Dsn and using the provided SentryClientFactory . |
static SentryClient |
Sentry.init(String dsn)
Initialize and statically store a
SentryClient by using the provided
Dsn and automatically choosing a SentryClientFactory . |
static SentryClient |
Sentry.init(String dsn,
SentryClientFactory sentryClientFactory)
|
static SentryClient |
SentryClientFactory.sentryClient()
Creates an instance of Sentry by discovering the DSN.
|
static SentryClient |
SentryClientFactory.sentryClient(String dsn)
Creates an instance of Sentry using the provided DSN.
|
static SentryClient |
SentryClientFactory.sentryClient(String dsn,
SentryClientFactory sentryClientFactory)
Creates an instance of Sentry using the provided DSN and the specified factory.
|
Modifier and Type | Method and Description |
---|---|
protected SentryClient |
DefaultSentryClientFactory.configureSentryClient(SentryClient sentryClient,
Dsn dsn)
Configures a
SentryClient instance after it has been constructed. |
static void |
Sentry.setStoredClient(SentryClient client)
Set the statically stored
SentryClient instance. |
Constructor and Description |
---|
ContextBuilderHelper(SentryClient sentryClient)
EventBuilderHelper that extracts context data from the provided SentryClient client. |
Copyright © 2012–2017. All rights reserved.