How do I import the new logging functions in iOS 10 / Sierra / Xcode 8? How do I import the new logging functions in iOS 10 / Sierra / Xcode 8? xcode xcode

How do I import the new logging functions in iOS 10 / Sierra / Xcode 8?


In Swift:

import osos_log("Some message")

In Objective-C:

#import <os/log.h>os_log(OS_LOG_DEFAULT, "Some message");