public interface Logger
Logger interface provides an abstraction over logging facilities.| Modifier and Type | Method and Description |
|---|---|
void |
debug(java.lang.String tag,
java.lang.String message)
Logs a debug message.
|
void |
debug(java.lang.String tag,
java.lang.String message,
java.lang.Throwable exception)
Logs a debug message with the specified exception.
|
void |
error(java.lang.String tag,
java.lang.String message)
Logs an error message.
|
void |
error(java.lang.String tag,
java.lang.String message,
java.lang.Throwable exception)
Logs an error message with the specified exception.
|
void |
info(java.lang.String tag,
java.lang.String message)
Logs an info message.
|
void |
info(java.lang.String tag,
java.lang.String message,
java.lang.Throwable exception)
Logs an info message with the specified exception.
|
void debug(java.lang.String tag,
java.lang.String message)
tag - used to identify the source of the log message.message - the message to log.void debug(java.lang.String tag,
java.lang.String message,
java.lang.Throwable exception)
tag - used to identify the source of the log message.message - the message to log.exception - the exception to log.void info(java.lang.String tag,
java.lang.String message)
tag - used to identify the source of the log message.message - the message to log.void info(java.lang.String tag,
java.lang.String message,
java.lang.Throwable exception)
tag - used to identify the source of the log message.message - the message to log.exception - the exception to log.void error(java.lang.String tag,
java.lang.String message)
tag - used to identify the source of the log message.message - the message to log.void error(java.lang.String tag,
java.lang.String message,
java.lang.Throwable exception)
tag - used to identify the source of the log message.message - the message to log.exception - the exception to log.