SiestaLog
public enum SiestaLog
Namespace for Siesta’s logging API.
-
Declaration
Swift
public enum Category
-
Inject your custom logger to do something other than print to stdout.
Declaration
Swift
public static var messageHandler: (Category, String) -> Void
-
Neatly formats
messageParts
as a message, and logs it tomessageHandler
ifcategory
is enabled.Declaration
Swift
public static func log(_ category: Category, _ messageParts: @autoclosure () -> [Any?])