public final class SystemMetricsLogger
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SystemMetricsLogger.Delegate |
| Constructor and Description |
|---|
SystemMetricsLogger() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setDelegate(SystemMetricsLogger.Delegate delegate)
Set a custom logging implementation: if there is none, then the library will simply log to
Logcat.
|
static void |
wtf(java.lang.String tag,
java.lang.String message)
Log an unexpected error with the given tag.
|
static void |
wtf(java.lang.String tag,
java.lang.String message,
java.lang.Throwable cause)
Log an unexpected error with the given tag and Throwable.
|
public static void setDelegate(SystemMetricsLogger.Delegate delegate)
public static void wtf(java.lang.String tag,
java.lang.String message)
public static void wtf(java.lang.String tag,
java.lang.String message,
@Nullable
java.lang.Throwable cause)