public interface LoggingInterface
The application using the SDK must implement this interface and assign an instance of this implementation to log property in the Configuration through the application's startup flow.
For example:
LoggingInterface logger = new DefaultLogUtility();
Configuration.getInstance().setLogger(logger);
Configuration
Modifier and Type | Method and Description |
---|---|
void |
log(Constants.LogLevel logLevel,
java.lang.String tag,
java.lang.String message)
Main logging method defining the actual logging process.
|
void |
log(Constants.LogLevel logLevel,
java.lang.String tag,
java.lang.String message,
java.lang.Exception ex)
Main logging method defining the actual logging process.
|
void log(Constants.LogLevel logLevel, java.lang.String tag, java.lang.String message)
logLevel
- Constants.LogLevel
tag
- the context informationmessage
- the log messagevoid log(Constants.LogLevel logLevel, java.lang.String tag, java.lang.String message, java.lang.Exception ex)
logLevel
- Constants.LogLevel
tag
- the context informationmessage
- the log messageex
- Exception