Blame | Last modification | View Log | RSS feed
<!---Licensed to the Apache Software Foundation (ASF) under oneor more contributor license agreements. See the NOTICE filedistributed with this work for additional informationregarding copyright ownership. The ASF licenses this fileto you under the Apache License, Version 2.0 (the"License"); you may not use this file except in compliancewith the License. You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing,software distributed under the License is distributed on an"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANYKIND, either express or implied. See the License for thespecific language governing permissions and limitationsunder the License.--># org.apache.cordova.consoleThis 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. Ifyou are happy with how console.log() works for you, then you probablydon't need this plugin.This plugin defines a global `console` object.Although the object is in the global scope, features provided by this pluginare not available until after the `deviceready` event.document.addEventListener("deviceready", onDeviceReady, false);function onDeviceReady() {console.log("console.log works well");}## Installationcordova plugin add org.apache.cordova.console### Android QuirksOn some platforms other than Android, console.log() will act on multiplearguments, such as console.log("1", "2", "3"). However, Android will act onlyon 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.