MTLogger
public class MTLogger
Logger class used for SDK logs.
-
Log marker for information messages.
Declaration
Swift
public static let infoMarker: String
-
Add a log.
Declaration
Swift
public static func log(_ message: String, type: MTLogType)
-
Print all current logs to the console.
Declaration
Swift
public static func printLogs()
-
Inject a custom logger conforming to the MTLoggable protocol.
Declaration
Swift
public static func setCustomLogger(_ logger: MTLoggable)