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:13:48 UTC

[jira] [Resolved] (CB-4192) The defaults for the console plugin does not log calls to the native logger

     [ https://issues.apache.org/jira/browse/CB-4192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-4192.
----------------------------------

    Resolution: Fixed
    
> 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