commit | 8a119c5c67e7e5bcd14223ceb387210f33c69b3b | [log] [tgz] |
---|---|---|
author | Steve Gill <stevengill97@gmail.com> | Wed Apr 15 16:00:21 2015 -0700 |
committer | Steve Gill <stevengill97@gmail.com> | Wed Apr 15 16:00:21 2015 -0700 |
tree | 0be3dce69297dc184c0a084aaba81db9c3c3904c | |
parent | 293a261bac3f5835f79a60fc2c83837b516799a3 [diff] |
CB-8858 Incremented plugin version.
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.