Functions
The following functions are available globally.
-
Print the ERROR log message accordingly to format.
Declaration
Swift
public func LogError(_ format: String, args: CVarArg...)Parameters
formatA format string of message.
argsA list of arguments to substitute into format.
-
Logs the WARNING message accordingly to format.
Declaration
Swift
public func LogWarning(_ format: String, args: CVarArg...)Parameters
formatA format string of message.
argsA list of arguments to substitute into format.
-
Logs the DEBUG message accordingly to format.
Declaration
Swift
public func LogDebug(_ format: String, args: CVarArg...)Parameters
formatA format string of message.
argsA list of arguments to substitute into format.
-
Logs the message accordingly to level and format.
Declaration
Swift
public func Log(_ level: TNLogLevel, format: String, args: [CVarArg])Parameters
levellevel of log message.
formatA format string of message.
argsA list of arguments to substitute into format.
Functions Reference