Logging
public struct Logging
Builder of OSLog values for categorization / classification of log statements.
-
The top-level identifier for the app.
Declaration
Swift
public static let subsystem: String
-
Create a new logger for a subsystem
Declaration
Swift
public static func logger(_ category: String) -> OSLog
Parameters
category
the subsystem to log under
Return Value
OSLog instance to use for subsystem logging