Constructor and Description |
---|
Logger(String tag,
String className)
Creates a new
Logger . |
Modifier and Type | Method and Description |
---|---|
void |
debug(String msg,
Throwable ex)
Logs an exception on debug level.
|
void |
error(String msg,
Object... args)
Logs on an error level.
|
void |
info(String msg,
Object... args)
Logs on an info level.
|
void |
verbose(String msg,
Object... args)
Logs on a verbose level.
|
public void debug(String msg, Throwable ex)
msg
- Message to be loggedex
- Exception to be loggedpublic void verbose(String msg, Object... args)
msg
- Message to be loggedargs
- Arguments for formatting the messagepublic void info(String msg, Object... args)
msg
- Message to be loggedargs
- Arguments for formatting the messageCopyright © 2010–2017. All rights reserved.