SilentPush

 avatar
unknown
swift
3 years ago
325 B
4
Indexable
func logg(_ message: StaticString, _ args: String...) {
  os_log(message, log: OSLog.viewCycle, type: .error, args)
}

extension OSLog {
  private static var subsystem = Bundle.main.bundleIdentifier!
  
  /// Logs the view cycles like viewDidLoad.
  static let viewCycle = OSLog(subsystem: subsystem, category: "viewcycle")
}
Editor is loading...