OSLogOutput
public class OSLogOutput : LoggerOutput
A LoggerOutput implementation that sends log events to the system’s OSLog.
The app bundle ID plus action session name are used as the subsystem, e.g:
co.montanafloss.demo.main
…and the category
is set to the topic path (AKA feature + action path):
AppFeatures/DocumentEditing/#Save
-
Undocumented
Declaration
Swift
public init(formatter: LogEventFormattingStrategy = VerboseLogEventFormatter(prefix: nil, dateFormat: nil))
-
Declaration
Swift
public func log(event: LogEvent)
-
Declaration
Swift
public func copyForArchiving(to path: URL)