public final class Logger
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
crashlyticsExceptionLog(java.lang.Throwable throwable)
Executes Crashlytics.logException() method with applied
Throwable parameter. |
static void |
crashlyticsLog(java.lang.String log)
Executes Crashlytics.log() method with applied
String parameter. |
static void |
d(java.lang.String msg)
Send a Debug log message.
|
static void |
d(java.lang.String msg,
java.lang.Throwable tr)
Send a Debug log message and log the exception.
|
static void |
e(java.lang.String msg)
Send an Error log message.
|
static void |
e(java.lang.String msg,
java.lang.Throwable tr)
Send an Error log message and log the exception.
|
static void |
i(java.lang.String msg)
Send an Info log message
|
static void |
i(java.lang.String msg,
java.lang.Throwable tr)
Send an Info log message and log the exception.
|
static void |
reset() |
static void |
setCrashlyticsLoggingEnabled(boolean state)
Enables Crashlytics logging.
|
static void |
setDebugLoggingEnabled(boolean state)
Enables Debug Logging.
|
static void |
setLogLevelEnabled(LogLevel logLevel,
boolean state) |
static void |
v(java.lang.String msg)
Send a verbose log message.
|
static void |
v(java.lang.String msg,
java.lang.Throwable tr)
Send a verbose log message and log the exception.
|
static void |
w(java.lang.String msg)
Send a warning log message.
|
static void |
w(java.lang.String msg,
java.lang.Throwable tr)
Send a warning log message and log the exception.
|
static void |
w(java.lang.Throwable tr)
Send a warning log message and log the exception.
|
public static void setCrashlyticsLoggingEnabled(boolean state)
state
- the statepublic static void crashlyticsLog(java.lang.String log)
String
parameter.log
- the logpublic static void crashlyticsExceptionLog(java.lang.Throwable throwable)
Throwable
parameter.throwable
- the throwablepublic static void setDebugLoggingEnabled(boolean state)
state
- the statepublic static void v(java.lang.String msg)
msg
- the messagepublic static void setLogLevelEnabled(LogLevel logLevel, boolean state)
public static void reset()
public static void v(java.lang.String msg, java.lang.Throwable tr)
msg
- the messagetr
- the throwablepublic static void d(java.lang.String msg)
msg
- the messagepublic static void d(java.lang.String msg, java.lang.Throwable tr)
msg
- the messagetr
- the throwablepublic static void i(java.lang.String msg)
msg
- the messagepublic static void i(java.lang.String msg, java.lang.Throwable tr)
msg
- the messagetr
- the throwablepublic static void w(java.lang.String msg)
msg
- the messagepublic static void w(java.lang.String msg, java.lang.Throwable tr)
msg
- the messagetr
- the throwablepublic static void w(java.lang.Throwable tr)
tr
- the throwablepublic static void e(java.lang.String msg)
msg
- the messagepublic static void e(java.lang.String msg, java.lang.Throwable tr)
msg
- the messagetr
- the throwable