Logging: Using the os_log APIs
Last Revision: | Version 1.0, 2016-09-13 First release |
Build Requirements: | Xcode 8.0 or later; iOS 10.0 SDK or later |
Runtime Requirements: | iOS 10.0 or later |
This sample contains projects to demonstrate using the os_log APIs in C, Objective-C, and Swift. They show the difference between a fault and an error, and the circumstances in which they are acceptable. Refer to these samples to see how to use custom log categories, how to decide which log levels to use, and how to view logs in real time.
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-09-13