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

Console should queue log messages if not connected

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0.0
    • None
    • None

    Description

      Console log messages (log, debug, error, info, warn) from the target may be lost if they are executed on the device before the remote connection is fully complete. These should be queued up if there is no remote connection (and dequeued when one is acquired) so all log messages are retained.

      I have a pull request at https://github.com/apache/incubator-cordova-weinre/pull/8 that does this as well as turns the Console into a passthru so that all calls to Console still act on the OriginalConsole as well as the RemoteConsole so that the target behavior with weinre is unchanged.

      Attachments

        1. 8.patch
          121 kB
          Patrick Mueller

        Activity

          People

            pmuellr Patrick Mueller
            mmjohnso Matt Johnson
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: