Info and Debug Unified Logging messages not appearing in console when running iOS simulator

Viewed 1350

I can't see Debug level or Info level log messages in the console app when running from the the iOS simulator.

  • I can see Default, Error and Fault levels in the console with the simulator.
  • I can see all Debug, Info, Default, Error and Fault levels in the console with a real non-simulated device.
  • I'm using the same console app filter settings with the simulator and in a real device.

I'm using XCode 8.3.3 with a simulator running iOS 10.3.

I'm using the Unified Logging System in my iOS app, as described here: https://developer.apple.com/documentation/os/logging https://developer.apple.com/videos/play/wwdc2016/721/

How can I get these Debug level and Info level log messages to display when running against the simulator?

2 Answers

This seems to be the expected behaviour, unfortunately I can't point to any documentation to back this up, however the Info and Debug level log messages are sent to Xcode's console, not the Console.app.

Related