public interface Log
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String tag,
String msg)
Send a DEBUG log message.
|
void |
debug(String tag,
String msg,
Throwable tr)
Send a DEBUG log message and log the exception.
|
void |
error(String tag,
String msg)
Send an ERROR log message.
|
void |
error(String tag,
String msg,
Throwable tr)
Send an ERROR log message and log the exception.
|
void |
info(String tag,
String msg)
Send an INFO log message.
|
void |
info(String tag,
String msg,
Throwable tr)
Send a INFO log message and log the exception.
|
boolean |
isLoggable(String tag,
Level level)
Checks to see whether or not a log for the specified tag is loggable at the specified level.
|
void |
setLevel(Level level)
Set logging level.
|
void |
verbose(String tag,
String msg)
Send a VERBOSE log message.
|
void |
verbose(String tag,
String msg,
Throwable tr)
Send a VERBOSE log message and log the exception.
|
void |
warn(String tag,
String msg)
Send a WARN log message.
|
void |
warn(String tag,
String msg,
Throwable tr)
Send a #WARN log message and log the exception.
|
void verbose(String tag, String msg)
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.void verbose(String tag, String msg, Throwable tr)
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.tr - An exception to logvoid debug(String tag, String msg)
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.void debug(String tag, String msg, Throwable tr)
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.tr - An exception to logvoid info(String tag, String msg)
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.void info(String tag, String msg, Throwable tr)
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.tr - An exception to logvoid warn(String tag, String msg)
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.void warn(String tag, String msg, Throwable tr)
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.tr - An exception to logvoid error(String tag, String msg)
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.void error(String tag, String msg, Throwable tr)
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.tr - An exception to logboolean isLoggable(String tag, Level level)
tag - The tag to check.level - The level to check.void setLevel(Level level)
This documentation is licensed by Andrew Bowley under the GPLv3 License.