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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidSet a debug log message.static voidstatic voidSet an error log message.static voidSet an info log message.static booleanGets whether or not log is being showstatic voidsetDebugEnabled(boolean enable) Enables or disables logging.static voidsetInternalLogging(boolean isInternalLogging) Sets the logging level for internal Tapjoy SDK debugging.static voidSet a verbose log message.static voidSet 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.
-