Package com.tapjoy

Class TapjoyLog

java.lang.Object
com.tapjoy.TapjoyLog

public class TapjoyLog extends Object
This class is used to control debug messages to the console for Tapjoy SDK related classes.
  • 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

      public static void i(String tag, String msg)
      Set an info log message.
      Parameters:
      tag - Tag for the log message.
      msg - Log message to output to the console.
    • e

      public static void e(String tag, String msg)
      Set an error log message.
      Parameters:
      tag - Tag for the log message.
      msg - Log message to output to the console.
    • e

      public static void e(String tag, com.tapjoy.TapjoyErrorMessage error)
      Parameters:
      tag - Tag for the log message.
      error - Tapjoy error message.
    • w

      public static void w(String tag, String msg)
      Set a warning log message.
      Parameters:
      tag - Tag for the log message.
      msg - Log message to output to the console.
    • d

      public static void d(String tag, String msg)
      Set a debug log message.
      Parameters:
      tag - Tag for the log message.
      msg - Log message to output to the console.
    • v

      public static void v(String tag, String msg)
      Set a verbose log message.
      Parameters:
      tag - Tag for the log message.
      msg - Log message to output to the console.