So this answer Do I need to disable NSLog before release Application? gives a great way to disable NSLog in a production environment, but unfortunately, this solution does n
#if DEBUG #else public func NSLog(_ format: String, _ args: CVarArg...) { // noop } #endif
The quest leading to this: swift debugPrint vs print