commit | 293a261bac3f5835f79a60fc2c83837b516799a3 | [log] [tgz] |
---|---|---|
author | Steve Gill <stevengill97@gmail.com> | Wed Apr 15 15:50:47 2015 -0700 |
committer | Steve Gill <stevengill97@gmail.com> | Wed Apr 15 15:50:47 2015 -0700 |
tree | 5fb7a282ce5e6074465729cb6c2c42423199dfb6 | |
parent | 4fa9cd13813128bdcd8b293cd388f0f6c238d2e7 [diff] |
CB-8858 Updated version in package.json for release 1.0.0
This plugin is meant to ensure that console.log() is as useful as it can be. It adds additional function for iOS, Ubuntu, Windows Phone 8, and Windows. If you are happy with how console.log() works for you, then you probably don't need this plugin.
This plugin defines a global console
object.
Although the object is in the global scope, features provided by this plugin are not available until after the deviceready
event.
document.addEventListener("deviceready", onDeviceReady, false); function onDeviceReady() { console.log("console.log works well"); }
cordova plugin add cordova-plugin-console
On some platforms other than Android, console.log() will act on multiple arguments, such as console.log(“1”, “2”, “3”). However, Android will act only on the first argument. Subsequent arguments to console.log() will be ignored. This plugin is not the cause of that, it is a limitation of Android itself.