Package com.pubmatic.sdk.common.log
Class POBLog
-
- All Implemented Interfaces:
public class POBLogLogger class, responsible for logging the messages based on provided log level. Default log level is Warn.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePOBLog.POBLoggingpublic classPOBLog.POBLogMessage
-
Method Summary
Modifier and Type Method Description static OpenWrapSDK.LogLevelgetLogLevel()Returns the log level of the instance, set by OpenWrapSDK. static voidsetLogLevel(OpenWrapSDK.LogLevel logLevel)Sets the log level of the instance. static voidaddLogger(POBLog.POBLogging logger)Method to add Logger static voidverbose(String TAG, String format, Array<Object> args)static voiddebug(String TAG, @Nullable() String format, @Nullable() Array<Object> args)static voidinfo(String TAG, @Nullable() String format, @Nullable() Array<Object> args)static voidwarn(String TAG, @Nullable() String format, @Nullable() Array<Object> args)static voiderror(String TAG, @Nullable() String format, @Nullable() Array<Object> args)static ArrayList<POBLog.POBLogging>allLoggers()-
-
Method Detail
-
getLogLevel
static OpenWrapSDK.LogLevel getLogLevel()
Returns the log level of the instance, set by OpenWrapSDK.setLogLevel().
-
setLogLevel
static void setLogLevel(OpenWrapSDK.LogLevel logLevel)
Sets the log level of the instance. Logging is done through console logging. Default value is Warn
- Parameters:
logLevel- LogLevel
-
addLogger
static void addLogger(POBLog.POBLogging logger)
Method to add Logger
- Parameters:
logger- object of class which implements POBLogging interface
-
allLoggers
static ArrayList<POBLog.POBLogging> allLoggers()
-
-
-
-