Question : swift writing to ios logs
Answered by : annoying-angelfish-2ppawtnwy6t7
extension Logger { private static var subsystem = Bundle.main.bundleIdentifier! /// Logs the view cycles like viewDidLoad. static let viewCycle = Logger(subsystem: subsystem, category: "viewcycle")
}
Source : https://www.avanderlee.com/workflow/oslog-unified-logging/ | Last Update : Sun, 21 Feb 21