From 73968ba1b3c3b5efeb92f70969e40d143eebf3d8 Mon Sep 17 00:00:00 2001 From: ARC Date: Wed, 13 May 2015 14:58:25 -0400 Subject: Added plugin directory as well to make sure you have all you need to compile (hopefully) --- plugins/org.apache.cordova.console/doc/index.md | 46 +++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 plugins/org.apache.cordova.console/doc/index.md (limited to 'plugins/org.apache.cordova.console/doc/index.md') diff --git a/plugins/org.apache.cordova.console/doc/index.md b/plugins/org.apache.cordova.console/doc/index.md new file mode 100644 index 00000000..ea801f78 --- /dev/null +++ b/plugins/org.apache.cordova.console/doc/index.md @@ -0,0 +1,46 @@ + + +# org.apache.cordova.console + +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 8. 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"); + } + +## Installation + + cordova plugin add org.apache.cordova.console + +### Android Quirks + +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. -- cgit v1.2.3