Logging in iOS simulator

# Ken Russell (5 days ago)

developers,

Is it possible to log from the WebKit build for the iOS Simulator? I've had difficulty getting LOG() statements to work even on macOS, so just tried NSLog, but the result didn't show up in the system log when opened from the simulator.

Thanks,

Contact us to advertise here
# Antoine Quint (5 days ago)

On 31 Aug 2019, at 05:33, Ken Russell <kbr at google.com> wrote:

Hi WebKit developers,

Is it possible to log from the WebKit build for the iOS Simulator? I've had difficulty getting LOG() statements to work even on macOS, so just tried NSLog, but the result didn't show up in the system log when opened from the simulator.

This has been working for me using the Console app, you just have to make sure that you select the simulated device in the left panel.

Antoine

# Ken Russell (a day ago)

Thanks Antoine! Confirming that starting the Console app separately, and selecting the simulated device in the left panel there, shows the log statements. They didn't show up when selecting "Debug -> Open System

Log..." in the simulator.

Want more features?

Request early access to our private beta of readable email premium.