Xcode Structured Logging

Published: 13 August 2023
on channel: Stewart Lynch
6,268
344

In this video, I want to introduce you structured logging and the improvements to the debug console in Xcode 15

Specifically, I want to show you how you consider replacing the majority of print statements you may have in your projects with OSLog

Table of Contents:
0:00 Introduction
2:39 The old way of printing to console
4:22 Introducing OSLog
8:12 Logger extension
12:28 Filtering Logs
14:49 LLDB Debugging

Starter Project Files:
(If you are having problems downloading zip files, use Safari. Chrome restricts zip files by default)
https://www.createchsol.com/StarterPr...

Completed Project:
https://github.com/StewartLynch/Struc...

Recommended Resources:
BigMountain Studio Books
SwiftUI Views Mastery
https://www.bigmountainstudio.com/vie...
SwiftUI 5 Book Bundle
https://www.bigmountainstudio.com/boo...
Combine Mastery in SwiftUI
https://www.bigmountainstudio.com/com...
Core Data Mastery in SwiftUI
https://www.bigmountainstudio.com/cor...
SwiftUI Animations Mastery
https://www.bigmountainstudio.com/ani...

AppCoda Books
Beginning iOS 16 Programming with Swift (SwiftUI + UIKit)
https://gumroad.com/a/646790611/WihuX
Beginning iOS 16 Programming with Swift (SwiftUI + UIKit) - Starter
https://gumroad.com/a/646790611/mOzKq
Mastering SwiftUI 4 + Swift Programming for iOS 16 - Professional
https://gumroad.com/a/646790611/gjPBw
Mastering SwiftUI 4 - Starter
https://gumroad.com/a/646790611/TyNEz

Other References:
Stewart Lynch's YouTube Channel:
   / @stewartlynch  
Stewart Lynch on Mastodon:
https://iosdev.space/@StewartLynch
Stewart Lynch on Twitter:
  / stewartlynch  
Stewart Lynch on Threads:
@StewartLynch
Stewart Lynch on LinkedIn
  / stewartlynch  


On this page of the site you can watch the video online Xcode Structured Logging with a duration of hours minute second in good quality, which was uploaded by the user Stewart Lynch 13 August 2023, share the link with friends and acquaintances, this video has already been watched 6,268 times on youtube and it was liked by 344 viewers. Enjoy your viewing!