SilentPush

mail@pastecode.io avatar
unknown
swift
2 years ago
325 B
1
Indexable
Never
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")
}