Package xcrash
Interface ILogger
-
public interface ILoggerDefine the logger interface used by xCrash.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidd(java.lang.String tag, java.lang.String msg)Log a DEBUG message.voidd(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)Log a DEBUG message and the exception.voide(java.lang.String tag, java.lang.String msg)Log a ERROR message.voide(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)Log a ERROR message and the exception.voidi(java.lang.String tag, java.lang.String msg)Log a INFO message.voidi(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)Log a INFO message and the exception.voidv(java.lang.String tag, java.lang.String msg)Log a VERBOSE message.voidv(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)Log a VERBOSE message and the exception.voidw(java.lang.String tag, java.lang.String msg)Log a WARN message.voidw(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)Log a WARN message and the exception.
-
-
-
Method Detail
-
v
void v(java.lang.String tag, java.lang.String msg)Log a VERBOSE message.- Parameters:
tag- Used to identify the source of a log message.msg- The message you would like logged.
-
v
void v(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)Log a VERBOSE message and the exception.- Parameters:
tag- Used to identify the source of a log message.msg- The message you would like logged.tr- An exception to log.
-
d
void d(java.lang.String tag, java.lang.String msg)Log a DEBUG message.- Parameters:
tag- Used to identify the source of a log message.msg- The message you would like logged.
-
d
void d(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)Log a DEBUG message and the exception.- Parameters:
tag- Used to identify the source of a log message.msg- The message you would like logged.tr- An exception to log.
-
i
void i(java.lang.String tag, java.lang.String msg)Log a INFO message.- Parameters:
tag- Used to identify the source of a log message.msg- The message you would like logged.
-
i
void i(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)Log a INFO message and the exception.- Parameters:
tag- Used to identify the source of a log message.msg- The message you would like logged.tr- An exception to log.
-
w
void w(java.lang.String tag, java.lang.String msg)Log a WARN message.- Parameters:
tag- Used to identify the source of a log message.msg- The message you would like logged.
-
w
void w(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)Log a WARN message and the exception.- Parameters:
tag- Used to identify the source of a log message.msg- The message you would like logged.tr- An exception to log.
-
e
void e(java.lang.String tag, java.lang.String msg)Log a ERROR message.- Parameters:
tag- Used to identify the source of a log message.msg- The message you would like logged.
-
e
void e(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)Log a ERROR message and the exception.- Parameters:
tag- Used to identify the source of a log message.msg- The message you would like logged.tr- An exception to log.
-
-