SCPLogLevel
Objective-C
enum SCPLogLevel : NSUInteger {}
Swift
enum LogLevel : UInt, @unchecked Sendable
The various log levels for the SDK.
Setting a given level prints log messages of that severity and all more-severe
messages (for example, SCPLogLevelWarning prints warnings and errors). This
mirrors the severities available in the Android SDK’s LogLevel.
Raw values are assigned explicitly and must remain stable across releases:
SCPLogLevelNone and SCPLogLevelVerbose keep their original values for
backwards compatibility, and newer levels are appended. Severity is defined by
the SDK, not by the raw value ordering — do not infer one from the other.
-
No logs will be printed to the console.
Declaration
Objective-C
SCPLogLevelNone = 0Swift
case none = 0 -
All logs will be printed to the console.
Declaration
Objective-C
SCPLogLevelVerbose = 1Swift
case verbose = 1 -
Only error logs will be printed to the console.
Declaration
Objective-C
SCPLogLevelError = 2Swift
case error = 2 -
All errors and warnings will be printed to the console.
Declaration
Objective-C
SCPLogLevelWarning = 3Swift
case warning = 3 -
All errors, warnings, and info logs will be printed to the console.
Declaration
Objective-C
SCPLogLevelInfo = 4Swift
case info = 4