commit | 0e26696fa49498122a40b4677fbc1fe5a270f840 | [log] [tgz] |
---|---|---|
author | Steve Gill <stevengill97@gmail.com> | Wed Jun 17 12:36:01 2015 -0700 |
committer | Steve Gill <stevengill97@gmail.com> | Wed Jun 17 12:36:01 2015 -0700 |
tree | e129497c8f318e3b8d2276fc862552ca23c76247 | |
parent | d58f218b9149d362ebb0b8ce697cf403569d14cd [diff] |
CB-9192 Updated version and RELEASENOTES.md for release 1.0.1
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.