TIL

Logging

Logging Libraries

Alternatives to OSLog (which is made for Apple, not for developers)

Unified Logging System

Xcode Console and Unified Logging

If you’re still using print statements to debug your App it’s time you moved to the unified OS logging framework.

Logging in Swift

Logging is an excellent technique to track and understand user actions through the app. This week we will learn how to implement proper logging functionality in our apps.

Exporting data from Unified Logging System in Swift

Apple provides us a framework to utilize its logging system backed by on-disk persistence. This week we will talk about exporting logs from the user devices by leveraging the power of the Unified Logging System.

Why you should use OSLog in 2023

OSLog is a unified logging framework available for a long time, but I haven’t adopted it much. But things are about to change with a new feature from WWDC 2023.

Fetching OSLog Messages in Swift

Using the OSLog framework for logging in your Apps? How do you retrieve those logs at runtime to show them in your App?

OSLogStore on Monterey

Notes from Michael Tsai.

Modern logging with the OSLog framework in Swift

In this post, I’d like to show you how you can set up a Logger from the OSLog framework in your app, and how you can use it to log messages that can help you debug your app and gain insights about problems your users experience.

Other

Dangerous NSLog() Calls in Swift - mjtsai