Package com.zopim.android.sdk.api
Class Logger
- java.lang.Object
-
- com.zopim.android.sdk.api.Logger
-
public class Logger extends java.lang.ObjectSimple wrapper aroundthe android logThe default behaviour is that it won't log until
Logger.setEnabled(boolean)is called with true as the argument.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidd(java.lang.String tag, java.lang.String message)Logs with aLog#DEBUGlevel.static voidd(java.lang.String tag, java.lang.String message, java.lang.Throwable throwable)Logs with aLog#DEBUGlevel.static voide(java.lang.String tag, java.lang.String message)Logs with aLog#ERRORlevel.static voide(java.lang.String tag, java.lang.String message, java.lang.Throwable throwable)Logs with aLog#ERRORlevel.static voidi(java.lang.String tag, java.lang.String message)Logs with aLog#INFOlevel.static voidi(java.lang.String tag, java.lang.String message, java.lang.Throwable throwable)Logs with aLog#INFOlevel.static voidv(java.lang.String tag, java.lang.String message)Logs with aLog#VERBOSElevel.static voidv(java.lang.String tag, java.lang.String message, java.lang.Throwable throwable)Logs with aLog#VERBOSElevel.static voidw(java.lang.String tag, java.lang.String message)Logs with aLog#WARNlevel.static voidw(java.lang.String tag, java.lang.String message, java.lang.Throwable throwable)Logs with aLog#WARNlevel.
-
-
-
Method Detail
-
w
public static void w(java.lang.String tag, java.lang.String message)Logs with aLog#WARNlevel.- Parameters:
tag- The log tag to log withmessage- A message to print to the Logger.
-
w
public static void w(java.lang.String tag, java.lang.String message, java.lang.Throwable throwable)Logs with aLog#WARNlevel.- Parameters:
tag- The log tag to log withmessage- A message to print to the Logger.throwable- A throwable representing an exception that occurred that will be written to the Logger.
-
e
public static void e(java.lang.String tag, java.lang.String message)Logs with aLog#ERRORlevel.- Parameters:
tag- The log tag to log withmessage- A message to print to the Logger.
-
e
public static void e(java.lang.String tag, java.lang.String message, java.lang.Throwable throwable)Logs with aLog#ERRORlevel.- Parameters:
tag- The log tag to log withmessage- A message to print to the Logger.throwable- A throwable representing an exception that occurred that will be written to the Logger.
-
v
public static void v(java.lang.String tag, java.lang.String message)Logs with aLog#VERBOSElevel.- Parameters:
tag- The log tag to log withmessage- A message to print to the Logger.
-
v
public static void v(java.lang.String tag, java.lang.String message, java.lang.Throwable throwable)Logs with aLog#VERBOSElevel.- Parameters:
tag- The log tag to log withmessage- A message to print to the Logger.throwable- A throwable representing an exception that occurred that will be written to the Logger.
-
i
public static void i(java.lang.String tag, java.lang.String message)Logs with aLog#INFOlevel.- Parameters:
tag- The log tag to log withmessage- A message to print to the Logger.
-
i
public static void i(java.lang.String tag, java.lang.String message, java.lang.Throwable throwable)Logs with aLog#INFOlevel.- Parameters:
tag- The log tag to log withmessage- A message to print to the Logger.throwable- A throwable representing an exception that occurred that will be written to the Logger.
-
d
public static void d(java.lang.String tag, java.lang.String message)Logs with aLog#DEBUGlevel.- Parameters:
tag- The log tag to log withmessage- A message to print to the Logger.
-
d
public static void d(java.lang.String tag, java.lang.String message, java.lang.Throwable throwable)Logs with aLog#DEBUGlevel.- Parameters:
tag- The log tag to log withmessage- A message to print to the Logger.throwable- A throwable representing an exception that occurred that will be written to the Logger.
-
-