Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:

      Description

      One thing that could be improved/fixed is that XCode console handling fails to do a sprintf on its input :

      console.log("Just fetched %s-item from endpoint=%o", itemCount, endpoint);

      Does output "Just fetched %s-item from endpoint=%o" in XCode while it could probably have the sprintf :

      "Just fetched 12-item from endpoint=[Object]"

      Not perfect but could be really useful for non-scalar vars.

      One probably correct sprintf implementation in javascript (underscore.string lib) : http://epeli.github.com/underscore.string/lib/underscore.string.js

      Regards,

        Activity

        Hide
        Patrick Mueller added a comment -

        This should be done as part of

        Show
        Patrick Mueller added a comment - This should be done as part of CB-348 - console object improvements

          People

          • Assignee:
            Unassigned
            Reporter:
            Olivier Louvignes
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development