Level

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

Entries

Link copied to clipboard

Logging is disabled (bitmask: 0). Default setting.

Link copied to clipboard

Internal operations: method calls, state-machine transitions, detailed execution flow. Bitmask: 1 << 0

Link copied to clipboard

User inputs, API parameters, HTTP requests and responses, operation results. Bitmask: 1 << 1

Link copied to clipboard

Significant events including successful initialization and configuration changes. Bitmask: 1 << 2

Link copied to clipboard

Internal PubNub operations or events. Bitmask: 1 << 3

Link copied to clipboard

Unusual conditions and non-breaking validation warnings. Bitmask: 1 << 4

Link copied to clipboard

Errors, exceptions, and configuration conflicts. Bitmask: 1 << 5

Link copied to clipboard

All log levels will be captured. Bitmask: UInt32.max

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: ERROR CLASS: Symbol not found for UInt32

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.