bfgutils.bfgLog Class
This class handles all of the logging for the SDK. More...
Static Public Member Functions | |
static int | d (@NonNull final String tag, @NonNull final String msg) |
Send a DEBUG log message to the logcat and to Crashlytics. More... | |
static int | e (@NonNull final String tag, @NonNull final String msg) |
Send an ERROR log message to the logcat and to Crashlytics. More... | |
static int | i (@NonNull final String tag, @NonNull final String msg) |
Send a INFO log message to the logcat and to Crashlytics. More... | |
static int | v (@NonNull final String tag, @NonNull final String msg) |
Send a VERBOSE log message to the logcat and to Crashlytics. More... | |
static int | w (@NonNull final String tag, @NonNull final String msg) |
Send a WARN log message to the logcat and to Crashlytics. More... | |
Detailed Description
This class handles all of the logging for the SDK. It is closely tied to Crashlytics logging as well. We will log the output to Crashlytics if it's a release build of the SDK. In that case, the additional context of having the log statements will help in diagnosing crashes that come into the Crashlytics dashboard.
- Since
- 6.0
Member Function Documentation
◆ d()
| inlinestatic |
Send a DEBUG log message to the logcat and to Crashlytics.
- Parameters
tag Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. msg The message you would like logged.
◆ e()
| inlinestatic |
Send an ERROR log message to the logcat and to Crashlytics.
- Parameters
tag Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. msg The message you would like logged.
◆ i()
| inlinestatic |
Send a INFO log message to the logcat and to Crashlytics.
- Parameters
tag Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. msg The message you would like logged.
◆ v()
| inlinestatic |
Send a VERBOSE log message to the logcat and to Crashlytics.
- Parameters
tag Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. msg The message you would like logged.
◆ w()
| inlinestatic |
Send a WARN log message to the logcat and to Crashlytics.
- Parameters
tag Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs. msg The message you would like logged.