Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 1.76 KB

logging.md

File metadata and controls

34 lines (18 loc) · 1.76 KB

Logging

Logging Libraries

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

Unified Logging System

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

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.

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.

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.

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

Notes from Michael Tsai.