PFLogLevel

enum PFLogLevel {}

PFLogLevel enum specifies different levels of logging that could be used to limit or display more messages in logs.

  • Log level that disables all logging.

    Declaration

    Objective-C

    PFLogLevelNone = 0

    Swift

    case none = 0
  • Log level that if set is going to output error messages to the log.

    Declaration

    Objective-C

    PFLogLevelError = 1

    Swift

    case error = 1
  • Log level that if set is going to output the following messages to log:

    • Errors
    • Warnings

    Declaration

    Objective-C

    PFLogLevelWarning = 2

    Swift

    case warning = 2
  • Log level that if set is going to output the following messages to log:

    • Errors
    • Warnings
    • Informational messages

    Declaration

    Objective-C

    PFLogLevelInfo = 3

    Swift

    case info = 3
  • Log level that if set is going to output the following messages to log:

    • Errors
    • Warnings
    • Informational messages
    • Debug messages

    Declaration

    Objective-C

    PFLogLevelDebug = 4

    Swift

    case debug = 4