Video: OSLog and Logger

Xcode 15's Console displays the output grouped by subsystem and category. We can use OSLog and Logger instead of print() to get much nicer console output that is more informative and useful.

https://youtu.be/dNpjCbdfRc8

OSLog and Logger

YouTube
@dimsumthinking Nice explanation! It seems odd that we have to mark the log public in order to see it when running a local build in the debugger. Is it a bug? What purpose would private logs serve if their output is always redacted?

@humblehacker

Thanks.

I don't know the reason - and obviously it caught me out too!