Logger
public enum Logger
A simple type to log interpolated string messages.
Logger
itself is simply a namespace.
-
Specify the approach that how the message will be logged.
The default approach is using the
print
method to print the message to the console.Declaration
Swift
public static var log: (String) -> Void