Package com.tapjoy
Class TapjoyLog
java.lang.Object
com.tapjoy.TapjoyLog
This class is used to control debug messages to the console for Tapjoy SDK related classes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Set a debug log message.static void
static void
Set an error log message.static void
Set an info log message.static boolean
Gets whether or not log is being showstatic void
setDebugEnabled
(boolean enable) Enables or disables logging.static void
setInternalLogging
(boolean isInternalLogging) Sets the logging level for internal Tapjoy SDK debugging.static void
Set a verbose log message.static void
Set a warning log message.
-
Constructor Details
-
TapjoyLog
public TapjoyLog()
-
-
Method Details
-
setDebugEnabled
public static void setDebugEnabled(boolean enable) Enables or disables logging.- Parameters:
enable
- Set to true if logging should be enabled, false to disable logging.
-
setInternalLogging
public static void setInternalLogging(boolean isInternalLogging) Sets the logging level for internal Tapjoy SDK debugging.- Parameters:
isInternalLogging
- Set to true to enable internal logging, false to disable.
-
isLoggingEnabled
public static boolean isLoggingEnabled()Gets whether or not log is being show- Returns:
- Whether log is being show
-
i
Set an info log message.- Parameters:
tag
- Tag for the log message.msg
- Log message to output to the console.
-
e
Set an error log message.- Parameters:
tag
- Tag for the log message.msg
- Log message to output to the console.
-
e
- Parameters:
tag
- Tag for the log message.error
- Tapjoy error message.
-
w
Set a warning log message.- Parameters:
tag
- Tag for the log message.msg
- Log message to output to the console.
-
d
Set a debug log message.- Parameters:
tag
- Tag for the log message.msg
- Log message to output to the console.
-
v
Set a verbose log message.- Parameters:
tag
- Tag for the log message.msg
- Log message to output to the console.
-