com.google.android.gms.analytics.Logger |
Interface to be used for logging debug and informational messages from the SDK.
Implementations of this interface can be provided to the GoogleAnalytics
singleton to be used as the Logger
for general use by the SDK.
See setLogger(Logger)
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Logger.LogLevel | Log level settings. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Used to log runtime errors or unexpected conditions.
| |||||||||||
Used to log runtime errors or unexpected conditions.
| |||||||||||
Return the current log level.
| |||||||||||
Used to log information on the flow through the system and other interesting
events.
| |||||||||||
Set the log level.
| |||||||||||
Used to log detailed information.
| |||||||||||
Used in situations like use of deprecated APIs, poor use of API, near errors, other runtime
situations that are undesirable or unexpected, but not necessarily "wrong".
|
Used to log runtime errors or unexpected conditions. These errors will likely result in data not being sent to the GA servers.
message | A string describing the error that occurred. |
---|
Used to log runtime errors or unexpected conditions. These errors will likely result in data not being sent to the GA servers.
exception | The exception that was thrown that caused the error. |
---|
Return the current log level.
Used to log information on the flow through the system and other interesting events.
message | the message to log |
---|
Set the log level. It is up to the implementation how the log level is used, but log messages outside the set log level should not be output.
Used to log detailed information. This information will probably only be useful during development and debugging.
message | the message to log |
---|
Used in situations like use of deprecated APIs, poor use of API, near errors, other runtime situations that are undesirable or unexpected, but not necessarily "wrong".
message | the message to log |
---|