| java.lang.Object | |
| ↳ | com.neomades.util.Log |
Console logger.
XCode consoleLogcat to see logs| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static void |
debug(Object message)
Adds a string to the console buffer.
| ||||||||||
| static void |
error(Throwable throwable)
Sends a message string with the
ERROR level including the stack
trace of the Throwable t passed as parameter. | ||||||||||
| static void |
error(Object message, Throwable throwable)
Sends a message string with the
LOG_ERROR level including the
stack trace of the Throwable t passed as parameter. | ||||||||||
| static void |
error(Object message)
Sends an error log message.
| ||||||||||
| static void |
info(Object message)
Sends an information log message.
| ||||||||||
| static boolean |
isEnabled()
Checks whether if logs are enabled.
| ||||||||||
| static void |
setEnabled(boolean enabled)
Enables or not logs.
| ||||||||||
| static void |
warn(Object message)
Sends a warning log message.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Adds a string to the console buffer.
| message | string to add |
|---|
Sends a message string with the ERROR level including the stack
trace of the Throwable t passed as parameter.
| throwable | the exception to log. |
|---|
Sends a message string with the LOG_ERROR level including the
stack trace of the Throwable t passed as parameter.
See error(Object) for more detailed information.
| message | the logged message. |
|---|---|
| throwable | the exception to log. |
Sends an information log message.
| message | the logged message |
|---|
Checks whether if logs are enabled.
Enables or not logs.
| enabled | true for enabling logs |
|---|
Sends a warning log message.
| message | the logged message |
|---|