Constructor and Description |
---|
AndroidLogger(java.lang.String version,
java.lang.String dsn)
Logging for Android build. Attempts to use Sentry too if its configured
|
Modifier and Type | Method and Description |
---|---|
void |
error(java.lang.String message) |
java.lang.String |
getDsn()
The private
|
java.lang.String |
getVersion()
Version string of app
|
void |
initialize() |
void |
log(java.lang.String message) |
void |
log(java.lang.String caller,
java.lang.String message) |
error, initialize, log, log
public AndroidLogger(java.lang.String version, java.lang.String dsn)
Logging for Android build. Attempts to use Sentry too if its configured
version
- Version string of appdsn
- The private(ish) code that identifies your app to Sentryversion
- Version string of appdsn
- The private(ish) code that identifies your app to Sentrypublic void error(java.lang.String message)
public void log(java.lang.String message)
public void log(java.lang.String caller, java.lang.String message)
public void initialize()
public java.lang.String getVersion()
Version string of app
public java.lang.String getDsn()
The private
(ish) code that identifies your app to Sentry