[
https://issues.apache.org/jira/browse/CB-4192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707321#comment-13707321
]
ASF subversion and git services commented on CB-4192:
-----------------------------------------------------
Commit 944acbe20a2f20fe40240db8c614e32612569dc4 in branch refs/heads/master
from [~shazron]
[
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-console.git;h=944acbe ]
[CB-4192] The defaults for the console plugin does not log calls to the native
logger
> 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
> Fix For: 3.0.0
>
>
> 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