DDLogLevel
Objective-C
enum DDLogLevel {}
Swift
enum DDLogLevel : UInt
Log levels are used to filter out logs. Used together with flags.
-
No logs
Declaration
Objective-C
DDLogLevelOff = 0
Swift
case off = 0
-
Error logs only
Declaration
Objective-C
DDLogLevelError = (DDLogFlagError)
Swift
case error = 1
-
Error and warning logs
Declaration
Objective-C
DDLogLevelWarning = (DDLogLevelError | DDLogFlagWarning)
Swift
case warning = 3
-
Error, warning and info logs
-
Error, warning, info and debug logs
-
Error, warning, info, debug and verbose logs
Declaration
Objective-C
DDLogLevelVerbose = (DDLogLevelDebug | DDLogFlagVerbose)
Swift
case verbose = 31
-
All logs (1…11111)
Declaration
Objective-C
DDLogLevelAll = (9223372036854775807L * 2UL + 1UL)
Swift
case all = 18446744073709551615