Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26572

TiAPI: Extend global console API to be more Node-compatible

    Details

    • Type: Improvement
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: TiAPI
    • Labels:
      None

      Description

      Our current console global object has the most common methods, but is missing some easy ones to target.

      • assert
      • count
      • countReset
      • trace

      Some other methods may be useful to simply implement as no-ops (like #clear())

      https://nodejs.org/api/console.html

      Tony Lukasavage has a JS impl to add trace/assert/dir here: https://github.com/tonylukasavage/ti-console/blob/master/src/ti-console.js

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eharris Ewan Harris
                Reporter:
                cwilliams Christopher Williams
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code