Enumeration: LogLevel#

Severity / verbosity of an SDK log line and the ceiling used by SessionOptions.logLevel.

Ordering. Numeric values increase with chattiness: LogLevel.Error < LogLevel.Warning < LogLevel.Info < LogLevel.Debug. LogLevel.Silent suppresses all SDK log delivery to SessionDelegates.onLog.

Filtering. When you set logLevel on SessionOptions, a LogEntry is delivered to SessionDelegates.onLog only if entry.level <= logLevel (numeric comparison). Examples:

  • LogLevel.WarningLogLevel.Error and LogLevel.Warning only.

  • LogLevel.Info → Error, Warning, and Info; not Debug.

  • LogLevel.Debug → everything including Debug.

See#

  • SessionDelegates.onLog

  • SessionOptions.logLevel

Enumeration Members#

Silent#

Silent: 0

No SDK logs are delivered to SessionDelegates.onLog.


Error#

Error: 1

Failures and unrecoverable problems; always investigate.


Warning#

Warning: 2

Recoverable issues, deprecations, or suspicious state that should not be ignored in production.


Info#

Info: 3

Lifecycle and operational detail (connect, disconnect, configuration) suitable for normal diagnostics.


Debug#

Debug: 4

Verbose trace (frame-by-frame or high-frequency); use only when debugging; may impact performance and log volume.