Swift, iOS 14: where to find device logs?

Viewed 725

I am trying to debug my app and I need to log some info. Here is my code:

let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "main")
                logger.log("One")
                logger.notice("Two")
                os_log("Three")

But when I press Cmd-Shift-2 -> View Device Logs after that, it doesn't show any logs related to my app. I want to read these messages somewhere - how do I do that?

1 Answers
Related