LogLevel
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)Content copied to clipboard
See also
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.
JavaScript SDK log level.
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.