You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/07/12 22:03:49 UTC
[jira] [Created] (CB-4192) The defaults for the console plugin does
not log calls to the native logger
Shazron Abdullah created CB-4192:
------------------------------------
Summary: The defaults for the console plugin does not log calls to the native logger
Key: CB-4192
URL: https://issues.apache.org/jira/browse/CB-4192
Project: Apache Cordova
Issue Type: Bug
Components: Plugin Console
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
in logger-startup.js:
logger.useConsole(true);
If you set it to false, it logs to both. We want it to log to the native logger by default.
Fix:
1. Remove logger-startup.js
2. In logger.js, set UseConsole to false as a default
3. Update plugin.xml if necessary
Typo in logger.js:
1. console.__usingCordovaLogger is never set anywhere else, it should be console.useLogger()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira