LoggingLevel

data class LoggingLevel @JvmOverloads constructor(val priority: Priority = Priority.ERROR, val httpLoggingLevel: HttpLoggingLevel = HttpLoggingLevel.BASIC, val webRtcLoggingLevel: Logging.Severity = Logging.Severity.LS_NONE)

Represents and wraps SDK logging levels for Stream logger, HTTP interceptor and native WebRTC logging.

Constructors

Link copied to clipboard
constructor(priority: Priority = Priority.ERROR, httpLoggingLevel: HttpLoggingLevel = HttpLoggingLevel.BASIC, webRtcLoggingLevel: Logging.Severity = Logging.Severity.LS_NONE)

Properties

Link copied to clipboard

The level of information logged by our HTTP interceptor.

Link copied to clipboard
val priority: Priority

The priority level of information logged by the Stream Android logger.

Link copied to clipboard
val webRtcLoggingLevel: Logging.Severity

The minimum severity for native WebRTC log messages delivered to the injectable logger. Defaults to Logging.Severity.LS_WARNING to avoid the heavy string allocation caused by codec-negotiation VERBOSE messages, which compounds under reconnect storms. Set to Logging.Severity.LS_VERBOSE when debugging WebRTC internals.

Functions

Link copied to clipboard
fun copy(priority: Priority, httpLoggingLevel: HttpLoggingLevel): LoggingLevel