public class TimberLogger extends java.lang.Object implements LoggerDefinition
| Constructor and Description |
|---|
TimberLogger() |
| Modifier and Type | Method and Description |
|---|---|
void |
d(java.lang.String tag,
java.lang.String msg)
Send a debug log message.
|
void |
d(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a debug log message and log the exception.
|
void |
e(java.lang.String tag,
java.lang.String msg)
Send an error log message.
|
void |
e(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send an error log message and log the exception.
|
void |
i(java.lang.String tag,
java.lang.String msg)
Send an info log message.
|
void |
i(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send an info log message and log the exception.
|
void |
v(java.lang.String tag,
java.lang.String msg)
Send a verbose log message.
|
void |
v(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a verbose log message and log the exception.
|
void |
w(java.lang.String tag,
java.lang.String msg)
Send a warning log message.
|
void |
w(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
Send a warning log message and log the exception.
|
public void v(java.lang.String tag,
java.lang.String msg)
LoggerDefinitionv in interface LoggerDefinitiontag - 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.public void v(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
LoggerDefinitionv in interface LoggerDefinitiontag - 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 logpublic void d(java.lang.String tag,
java.lang.String msg)
LoggerDefinitiond in interface LoggerDefinitiontag - 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.public void d(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
LoggerDefinitiond in interface LoggerDefinitiontag - 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 logpublic void i(java.lang.String tag,
java.lang.String msg)
LoggerDefinitioni in interface LoggerDefinitiontag - 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.public void i(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
LoggerDefinitioni in interface LoggerDefinitiontag - 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 logpublic void w(java.lang.String tag,
java.lang.String msg)
LoggerDefinitionw in interface LoggerDefinitiontag - 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.public void w(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
LoggerDefinitionw in interface LoggerDefinitiontag - 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 logpublic void e(java.lang.String tag,
java.lang.String msg)
LoggerDefinitione in interface LoggerDefinitiontag - 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.public void e(java.lang.String tag,
java.lang.String msg,
java.lang.Throwable tr)
LoggerDefinitione in interface LoggerDefinitiontag - 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 log