No logs while running in iOS simulator


#1

I am using the angular $log service to write some logs using $log.log or $log.info
All is well when I test the app in a browser (using ionic serve), however when opening the app in Xcode and run it in the simulator no logs appear.
Same is true when I use console.log

Any ideas ?

Thank you in advance
Eduardo.


#2

install cordova console plugin, then try.

cordova plugin add cordova-plugin-console


#3

Thank you for your reply, I do have the cordova-plugin-console installed in the project. However, the logs are not appearing.

Thank you in advance
Eduardo.