Uniting our global community of Ionic developers and contributors. May 25, 2022.
The Console API automatically sends
console.warn calls to the native log system on each respective platform. This enables, for example,
console.log calls to be rendered in the Xcode and Android Studio log windows.
It can be disabled by using
hideLogs entry in
common configuration for more information.
console.log("I really enjoy Avocado Toast, and I'm not ashamed to admit it");
The string will show up in your Xcode or Android Studio log stream.