Class LogUtil

java.lang.Object
org.prebid.mobile.LogUtil

public class LogUtil extends Object
Prebid logger. Allows to control log level.
  • Field Details

  • Method Details

    • setLogLevel

      public static void setLogLevel(int level)
    • setLogger

      public static void setLogger(LogUtil.PrebidLogger newLogger)
    • getLogLevel

      public static int getLogLevel()
    • verbose

      public static void verbose(String message)
      Prints a message with VERBOSE priority and default BASE_TAG
    • debug

      public static void debug(String message)
      Prints a message with DEBUG priority and default BASE_TAG
    • info

      public static void info(String message)
      Prints a message with INFO priority and default BASE_TAG
    • warning

      public static void warning(String message)
      Prints a message with WARNING priority and default BASE_TAG
    • error

      public static void error(String message)
      Prints a message with ERROR priority and default BASE_TAG
    • verbose

      public static void verbose(String tag, String msg)
      Prints a message with VERBOSE priority.
    • debug

      public static void debug(String tag, String msg)
      Prints a message with DEBUG priority.
    • info

      public static void info(String tag, String msg)
      Prints a message with INFO priority.
    • warning

      public static void warning(String tag, String msg)
      Prints a message with WARN priority.
    • error

      public static void error(String tag, String msg)
      Prints a message with ERROR priority.
    • wtf

      public static void wtf(String tag, String msg)
      Prints a message with ASSERT priority.
    • error

      public static void error(String tag, String message, Throwable throwable)
      Prints a message with ERROR priority and exception.