MPSSDKLogLevel

public final class MPSSDKLogLevel: NSObject

Log levels for MPS SDK.

  • No logs.

    Declaration

    Swift

    static public var none: MPSSDKLogLevel
  • Use this log level to print out errors only from MPS SDK.

    Declaration

    Swift

    static public var error: MPSSDKLogLevel
  • Use this log level to print out info and errors only from MPS SDK.

    Declaration

    Swift

    static public var info: MPSSDKLogLevel
  • Use this log level to print out debug, info and errors from MPS SDK.

    Declaration

    Swift

    static public var debug: MPSSDKLogLevel
  • Write all SDK messages (debug, info and errors) to file.

    Declaration

    Swift

    static public func writeToFile(path: String) -> MPSSDKLogLevel

    Parameters

    path

    String - path to file in system. Example - NSSearchPathForDirectoriesInDomains(.documentDirectory, .allDomainsMask, true)[0].appending(/log.txt)