debugLogs

fun debugLogs(sink: (tag: String, message: String) -> Unit?): SOCommMediaClientBuilder

If you want enable debug-logs to be logged, provide a lambda here.

Per default (or when passing null as sink here), debug-logs will not be logged.

The logs should be disabled in production / release builds, and you probably want to disable the logs in you debug environment as well (unless you want to debug the SDK), as we log quite excessively.

Return

this to chain calls.

Parameters

sink

The lambda which gets invoked to write the debug-level logs to, or null to disable debug logging.