Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4192

The defaults for the console plugin does not log calls to the native logger

    XMLWordPrintableJSON

Details

    Description

      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()

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            shazron Shazron Abdullah
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: