SOLogger
class SOLogger(debugSink: (tag: String, message: String) -> Unit? = null, warningSink: (tag: String, message: String) -> Unit? = null, errorSink: (tag: String, message: String) -> Unit? = null)
Internal logger utility class. 3 different levels of logs are provided, where debug logs are excessive logs which should only be enabled when debugging an SDK issue.
Parameters
debugSink
A lambda which gets invoked to print a debug log message. Pass null to disable debug logging.
warningSink
A lambda which gets invoked to print a warning log message. Pass null to disable warning logging.
errorSink
A lambda which gets invoked to print an error log message. Pass null to disable error logging.