public class AndroidSentryClientFactory extends DefaultSentryClientFactory
DefaultSentryClientFactory.DaemonThreadFactory
Modifier and Type | Field and Description |
---|---|
static String |
TAG
Logger tag.
|
ASYNC_GRACEFUL_SHUTDOWN_OPTION, ASYNC_OPTION, ASYNC_PRIORITY_OPTION, ASYNC_QUEUE_DISCARDNEW, ASYNC_QUEUE_DISCARDOLD, ASYNC_QUEUE_OVERFLOW_DEFAULT, ASYNC_QUEUE_OVERFLOW_OPTION, ASYNC_QUEUE_SIZE_OPTION, ASYNC_QUEUE_SYNC, ASYNC_SHUTDOWN_TIMEOUT_DEFAULT, ASYNC_SHUTDOWN_TIMEOUT_OPTION, ASYNC_THREADS_OPTION, BUFFER_DIR_OPTION, BUFFER_ENABLED_DEFAULT, BUFFER_ENABLED_OPTION, BUFFER_FLUSHTIME_DEFAULT, BUFFER_FLUSHTIME_OPTION, BUFFER_GRACEFUL_SHUTDOWN_OPTION, BUFFER_SHUTDOWN_TIMEOUT_DEFAULT, BUFFER_SHUTDOWN_TIMEOUT_OPTION, BUFFER_SIZE_DEFAULT, BUFFER_SIZE_OPTION, COMPRESSION_OPTION, DIST_OPTION, ENVIRONMENT_OPTION, EXTRA_OPTION, EXTRATAGS_OPTION, HIDE_COMMON_FRAMES_OPTION, HTTP_PROXY_HOST_OPTION, HTTP_PROXY_PASS_OPTION, HTTP_PROXY_PORT_DEFAULT, HTTP_PROXY_PORT_OPTION, HTTP_PROXY_USER_OPTION, IN_APP_FRAMES_OPTION, MAX_MESSAGE_LENGTH_OPTION, MDCTAGS_OPTION, NAIVE_PROTOCOL, QUEUE_SIZE_DEFAULT, RELEASE_OPTION, SAMPLE_RATE_OPTION, SERVERNAME_OPTION, TAGS_OPTION, TIMEOUT_DEFAULT, TIMEOUT_OPTION, UNCAUGHT_HANDLER_ENABLED_OPTION
Constructor and Description |
---|
AndroidSentryClientFactory(android.content.Context ctx)
Construct an AndroidSentryClientFactory using the specified Android Context.
|
Modifier and Type | Method and Description |
---|---|
SentryClient |
createSentryClient(Dsn dsn) |
protected Buffer |
getBuffer(Dsn dsn) |
protected ContextManager |
getContextManager(Dsn dsn) |
protected Collection<String> |
getInAppFrames(Dsn dsn) |
configureSentryClient, createAsyncConnection, createConnection, createHttpConnection, createMarshaller, createStdOutConnection, getAsyncEnabled, getAsyncGracefulShutdownEnabled, getAsyncPriority, getAsyncQueueSize, getAsyncShutdownTimeout, getAsyncThreads, getBufferedConnectionGracefulShutdownEnabled, getBufferedConnectionShutdownTimeout, getBufferEnabled, getBufferFlushtime, getBufferSize, getBypassSecurityEnabled, getCompressionEnabled, getDist, getEnvironment, getExtra, getExtraTags, getHideCommonFramesEnabled, getMaxMessageLength, getMdcTags, getProxyHost, getProxyPass, getProxyPort, getProxyUser, getRejectedExecutionHandler, getRelease, getSampleRate, getServerName, getTags, getTimeout, getUncaughtHandlerEnabled
sentryClient, sentryClient, sentryClient, toString
public static final String TAG
public AndroidSentryClientFactory(android.content.Context ctx)
ctx
- Android Context.public SentryClient createSentryClient(Dsn dsn)
createSentryClient
in class DefaultSentryClientFactory
protected Collection<String> getInAppFrames(Dsn dsn)
getInAppFrames
in class DefaultSentryClientFactory
protected Buffer getBuffer(Dsn dsn)
getBuffer
in class DefaultSentryClientFactory
protected ContextManager getContextManager(Dsn dsn)
getContextManager
in class DefaultSentryClientFactory
Copyright © 2012–2017. All rights reserved.