There is a new logging system in iOS 10 and macOS Sierra.
But I can\'t seem to make it work in Xcode. os_log is not recognized, and neither is any other func
os_log
In Swift:
import os os_log("Some message")
In Objective-C:
#import <os/log.h> os_log(OS_LOG_DEFAULT, "Some message");