SOLogger

constructor(debugSink: (tag: String, message: String) -> Unit? = null, warningSink: (tag: String, message: String) -> Unit? = null, errorSink: (tag: String, message: String) -> Unit? = null)

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.