Migrating to Unified Logging, Swift Edition
I have a new blog post up on our company blog. If you have a Swift project that is not yet using Unified Logging (os_log
and friends), I think you’ll find this helpful. There are some surprising differences, for better and for worse, compared to NSLog
and print
statements.
If you’re brave, I also have an open-source Swift wrapper around the Unified Logging APIs which takes some of the edge off of the migration away from legacy logging techniques.