Viewing os_log messages in device console

前端 未结 4 1359
情话喂你
情话喂你 2021-02-04 01:20

I\'m trying to get some logging out of my app through Unified Logging (os_log)

Here\'s the initialization of the log:

var osLog : OSLog = OSLog(subsystem         


        
4条回答
  •  再見小時候
    2021-02-04 01:40

    Another pitfall: If you have set OS_ACTIVITY_MODE to disable in your scheme, then you will not see any logs for your app in console.

    You have to remove or uncheck that argument.

提交回复
热议问题