Peter Steinberger 8/24/2020

Logging in Swift

Read Original

This technical article examines the enhanced OSLog logging framework introduced by Apple in iOS 14 and iOS 15. It details the new Swift Logger struct, the return of OSLogStore, and the framework's benefits like categorization, privacy controls, and performance. It also provides code examples and discusses transitioning from older logging methods like NSLog or print.

Logging in Swift

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser