How do I import the new logging functions in iOS 10 / Sierra / Xcode 8?
<p>There is a <a href="https://developer.apple.com/documentation/os/logging" rel="noreferrer">new logging system</a> in iOS 10 and macOS Sierra.</p>
<p>But I can't seem to make it work in Xcode. <code>os_log</code> is not recognized, and neither is any other function / constant mentioned in the docs.</p>
<blockquote>
<p>Use of unresolved identifier 'os_log'</p>
</blockquote>
<p>Do I need to link a framework or import a header or something? Am I missing something obvious?</p>