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 to print 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 to print 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 more

    Declaration

    Swift

    public enum LogLevel : Int
  • The type of logger to use.

    See more

    Declaration

    Swift

    public enum LogType