SDKLogger
public class SDKLogger
extension SDKLogger: NativeBase
extension SDKLogger: Hashable
Logging interface for Android/iOS platforms.
These logs are under management of LogControl and should be used instead of platform-specific logging functions.
-
Declaration
Swift
public static func log(level: LogLevel, tag: String, message: String)Parameters
levelThe severity of the log message.
tagThe log tag.
messageThe log message.
-
convenient function to print a message with log level INFO and tag.
Declaration
Swift
public static func info(tag: String, message: String)Parameters
tagThe log tag.
messageThe log message.
-
convenient function to print a message with log level WARNING and tag.
Declaration
Swift
public static func warn(tag: String, message: String)Parameters
tagThe log tag.
messageThe log message.
-
convenient function to print a message with log level ERROR and tag.
Declaration
Swift
public static func error(tag: String, message: String)Parameters
tagThe log tag.
messageThe log message.
-
convenient function to print a message with log level FATAL and tag.
Declaration
Swift
public static func fatal(tag: String, message: String)Parameters
tagThe log tag.
messageThe log message.