LogLevel

actual data class LogLevel(val levels: Set<LogLevel.Level>)

Swift SDK log level configuration.

Uses bitmask flags that can be combined to create custom logging configurations. Unlike hierarchical logging, each level must be explicitly enabled.

Example:

// Predefined combinations
LogLevel.Standard // info, event, warn, error

// Custom combination
LogLevel.custom(Level.ERROR, Level.WARN, Level.EVENT)

See also

expect class LogLevel

Platform-specific log level configuration.

  • JVM: This parameter is ignored. Configure logging via slf4j implementation.

  • JS: Simple hierarchical log levels (NONE, ERROR, WARN, INFO, DEBUG, TRACE).

  • iOS: Bitmask-based log levels that can be combined.

actual class LogLevel

JavaScript SDK log level.

actual class LogLevel

JVM LogLevel (ignored - use slf4j configuration instead).

This parameter exists for API consistency across platforms but has no effect on JVM. To configure logging on JVM, add an slf4j implementation (e.g., logback, log4j2) and configure it according to that implementation's documentation.

Constructors

Link copied to clipboard
constructor(levels: Set<LogLevel.Level>)

Types

Link copied to clipboard
actual object Companion
expect object Companion
actual object Companion
actual object Companion
Link copied to clipboard

Individual log level flags that can be combined. Each level corresponds to a specific bitmask in the Swift SDK.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
open override fun toString(): String