public class LogManager
extends java.lang.Object
This class is used for any logging operation done through the Mobile SDK. Any application that uses the Mobile SDK can also use this class for their own logging operations.
For example
LogManager.log(LogLevel.Info, "context information","operation done");
Modifier and Type | Method and Description |
---|---|
static void |
log(Constants.LogLevel logLevel,
java.lang.String tag,
java.lang.String message)
This method transmits the desired log message with related
Constants.LogLevel and TAG to given logger instance |
static void |
log(Constants.LogLevel logLevel,
java.lang.String tag,
java.lang.String message,
java.lang.Exception exception)
This method transmits the desired log message with related
Constants.LogLevel and TAG to given logger instance |
static void |
logInvocation(java.lang.String tag,
java.lang.String className,
java.lang.String methodName)
This method logs invocation of API level methods
|
static void |
logWebRTC(java.lang.String message) |
public static void log(Constants.LogLevel logLevel, java.lang.String tag, java.lang.String message)
Constants.LogLevel
and TAG to given logger instancelogLevel
- Constants.LogLevel
tag
- the context informationmessage
- the log messageLoggingInterface
public static void log(Constants.LogLevel logLevel, java.lang.String tag, java.lang.String message, java.lang.Exception exception)
Constants.LogLevel
and TAG to given logger instancetag
- the context informationmessage
- the log messageexception
- the exception objectLoggingInterface
public static void logInvocation(java.lang.String tag, java.lang.String className, java.lang.String methodName)
tag
- the context informationclassName
- the name of the class method invoked frommethodName
- the name of the invoked methodpublic static void logWebRTC(java.lang.String message)