Package org.prebid.mobile
Class LogUtil
-
- All Implemented Interfaces:
public class LogUtilPrebid logger. Allows to control log level.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceLogUtil.PrebidLoggerInternal interface.
-
Method Summary
Modifier and Type Method Description static intgetLogLevel()static voidsetLogLevel(int level)static voidverbose(String message)Prints a message with VERBOSE priority and default BASE_TAG static voiddebug(String message)Prints a message with DEBUG priority and default BASE_TAG static voidinfo(String message)Prints a message with INFO priority and default BASE_TAG static voidwarning(String message)Prints a message with WARNING priority and default BASE_TAG static voiderror(String message)Prints a message with ERROR priority and default BASE_TAG static voidverbose(String tag, String msg)Prints a message with VERBOSE priority. static voiddebug(String tag, String msg)Prints a message with DEBUG priority. static voidinfo(String tag, String msg)Prints a message with INFO priority. static voidwarning(String tag, String msg)Prints a message with WARN priority. static voiderror(String tag, String msg)Prints a message with ERROR priority. static voidwtf(String tag, String msg)Prints a message with ASSERT priority. static voiderror(String tag, String message, Throwable throwable)Prints a message with ERROR priority and exception. static voidprint(int messagePriority, String message)Prints information with set priority. static voidsetLogger(LogUtil.PrebidLogger newLogger)-
-
Method Detail
-
getLogLevel
static int getLogLevel()
-
setLogLevel
static void setLogLevel(int level)
-
verbose
static void verbose(String message)
Prints a message with VERBOSE priority and default BASE_TAG
-
warning
static void warning(String message)
Prints a message with WARNING priority and default BASE_TAG
-
error
static void error(String tag, String message, Throwable throwable)
Prints a message with ERROR priority and exception.
-
setLogger
static void setLogger(LogUtil.PrebidLogger newLogger)
-
-
-
-