Package com.parse
Class PLog
- java.lang.Object
-
- com.parse.PLog
-
public class PLog extends java.lang.Object
Parse Logger. SeesetLogLevel(int)
-
-
Field Summary
Fields Modifier and Type Field Description static int
LOG_LEVEL_NONE
-
Constructor Summary
Constructors Constructor Description PLog()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
d(java.lang.String tag, java.lang.String message)
static void
d(java.lang.String tag, java.lang.String message, java.lang.Throwable tr)
static void
e(java.lang.String tag, java.lang.String message)
static void
e(java.lang.String tag, java.lang.String message, java.lang.Throwable tr)
static int
getLogLevel()
Returns the level of logging that will be displayed.static void
i(java.lang.String tag, java.lang.String message)
static void
i(java.lang.String tag, java.lang.String message, java.lang.Throwable tr)
static void
setLogLevel(int logLevel)
Sets the level of logging to display, where each level includes all those below it.static void
v(java.lang.String tag, java.lang.String message)
static void
v(java.lang.String tag, java.lang.String message, java.lang.Throwable tr)
static void
w(java.lang.String tag, java.lang.String message)
static void
w(java.lang.String tag, java.lang.String message, java.lang.Throwable tr)
-
-
-
Field Detail
-
LOG_LEVEL_NONE
public static final int LOG_LEVEL_NONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLogLevel
public static int getLogLevel()
Returns the level of logging that will be displayed.
-
setLogLevel
public static void setLogLevel(int logLevel)
Sets the level of logging to display, where each level includes all those below it. The default level isLOG_LEVEL_NONE
. Please ensure this is set toLog#ERROR
orLOG_LEVEL_NONE
before deploying your app to ensure no sensitive information is logged. The levels are:Log#VERBOSE
Log#DEBUG
Log#INFO
Log#WARN
Log#ERROR
LOG_LEVEL_NONE
- Parameters:
logLevel
- The level of logcat logging that Parse should do.
-
v
public static void v(java.lang.String tag, java.lang.String message, java.lang.Throwable tr)
-
v
public static void v(java.lang.String tag, java.lang.String message)
-
d
public static void d(java.lang.String tag, java.lang.String message, java.lang.Throwable tr)
-
d
public static void d(java.lang.String tag, java.lang.String message)
-
i
public static void i(java.lang.String tag, java.lang.String message, java.lang.Throwable tr)
-
i
public static void i(java.lang.String tag, java.lang.String message)
-
w
public static void w(java.lang.String tag, java.lang.String message, java.lang.Throwable tr)
-
w
public static void w(java.lang.String tag, java.lang.String message)
-
e
public static void e(java.lang.String tag, java.lang.String message, java.lang.Throwable tr)
-
e
public static void e(java.lang.String tag, java.lang.String message)
-
-