ContentfulLogger
public enum ContentfulLogger
A logger for outputting status messages to the console from Contentful SDK.
-
The type of logger used to log messages; defaults to
NSLog
on iOS, tvOS, watchOS, macOS. Defaults toprint
on other platforms.Declaration
Swift
public static var logType: LogType
-
The type of logger used to log messages; defaults to
NSLog
on iOS, tvOS, watchOS, macOS. Defaults toprint
on other platforms. -
The highest order of message types that should be logged. Defaults to
LogLevel.error
.Declaration
Swift
public static var logLevel: LogLevel
-
An enum describing the types of messages to be logged.
See moreDeclaration
Swift
public enum LogLevel : Int
-
The type of logger to use.
See moreDeclaration
Swift
public enum LogType