java.lang.Object | |
↳ | com.urbanairship.Logger |
Shared logging wrapper for all Urban Airship log entries. This class serves to consolidate the tag and log level in a single location.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static String | TAG | The current log tag. | |||||||||
public static int | logLevel | The current log level, as defined by android.util.Log . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void |
debug(String s)
Send a debug log message.
| ||||||||||
static void |
debug(String s, Throwable t)
Send a debug log message.
| ||||||||||
static void |
error(String s)
Send an error log message.
| ||||||||||
static void |
error(String s, Throwable t)
Send an error log message.
| ||||||||||
static void |
error(Throwable t)
Send an error log message.
| ||||||||||
static void |
info(String s)
Send an info log message.
| ||||||||||
static void |
info(String s, Throwable t)
Send an info log message.
| ||||||||||
static void |
verbose(String s)
Send a verbose log message.
| ||||||||||
static void |
warn(Throwable t)
Send a warning log message.
| ||||||||||
static void |
warn(String s, Throwable t)
Send a warning log message.
| ||||||||||
static void |
warn(String s)
Send a warning log message.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
The current log level, as defined by android.util.Log
.
Defaults to android.util.Log.ERROR
.
Send a debug log message.
s | The message you would like logged. |
---|
Send a debug log message.
s | The message you would like logged. |
---|---|
t | An exception to log |
Send an error log message.
s | The message you would like logged. |
---|
Send an error log message.
s | The message you would like logged. |
---|---|
t | An exception to log |
Send an info log message.
s | The message you would like logged. |
---|
Send an info log message.
s | The message you would like logged. |
---|---|
t | An exception to log |
Send a verbose log message.
s | The message you would like logged. |
---|
Send a warning log message.
s | The message you would like logged. |
---|---|
t | An exception to log |
Send a warning log message.
s | The message you would like logged. |
---|