Logger

actual object Logger

Android implementation of Logger using android.util.Log

expect object Logger

Multiplatform logging utility for MediaSFU SDK. Provides consistent logging across Android and iOS platforms.

Properties

Link copied to clipboard

Check if debug logging is enabled

Functions

Link copied to clipboard
actual fun d(tag: String, message: String)
expect fun d(tag: String, message: String)

Log a debug message

Link copied to clipboard
actual fun e(tag: String, message: String)
actual fun e(tag: String, message: String, throwable: Throwable)
expect fun e(tag: String, message: String)

Log an error message

expect fun e(tag: String, message: String, throwable: Throwable)

Log an error message with throwable

Link copied to clipboard
actual fun i(tag: String, message: String)
expect fun i(tag: String, message: String)

Log an info message

Link copied to clipboard
actual fun w(tag: String, message: String)
expect fun w(tag: String, message: String)

Log a warning message