Package org.prebid.mobile
Class LogUtil
java.lang.Object
org.prebid.mobile.LogUtil
Prebid logger. Allows to control log level.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Prints a message with DEBUG priority and default BASE_TAGstatic void
Prints a message with DEBUG priority.static void
Prints a message with ERROR priority and default BASE_TAGstatic void
Prints a message with ERROR priority.static void
Prints a message with ERROR priority and exception.static int
static void
Prints a message with INFO priority and default BASE_TAGstatic void
Prints a message with INFO priority.static void
setLogger
(LogUtil.PrebidLogger newLogger) static void
setLogLevel
(int level) static void
Prints a message with VERBOSE priority and default BASE_TAGstatic void
Prints a message with VERBOSE priority.static void
Prints a message with WARNING priority and default BASE_TAGstatic void
Prints a message with WARN priority.static void
Prints a message with ASSERT priority.
-
Field Details
-
NONE
public static final int NONE- See Also:
-
VERBOSE
public static final int VERBOSE- See Also:
-
DEBUG
public static final int DEBUG- See Also:
-
INFO
public static final int INFO- See Also:
-
WARN
public static final int WARN- See Also:
-
ERROR
public static final int ERROR- See Also:
-
ASSERT
public static final int ASSERT- See Also:
-
-
Method Details
-
setLogLevel
public static void setLogLevel(int level) -
setLogger
-
getLogLevel
public static int getLogLevel() -
verbose
Prints a message with VERBOSE priority and default BASE_TAG -
debug
Prints a message with DEBUG priority and default BASE_TAG -
info
Prints a message with INFO priority and default BASE_TAG -
warning
Prints a message with WARNING priority and default BASE_TAG -
error
Prints a message with ERROR priority and default BASE_TAG -
verbose
Prints a message with VERBOSE priority. -
debug
Prints a message with DEBUG priority. -
info
Prints a message with INFO priority. -
warning
Prints a message with WARN priority. -
error
Prints a message with ERROR priority. -
wtf
Prints a message with ASSERT priority. -
error
Prints a message with ERROR priority and exception.
-