incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Louvignes (JIRA)" <>
Subject [jira] [Created] (CB-613) Fix console.log not sprintf'ing input content
Date Tue, 01 May 2012 09:46:50 GMT
Olivier Louvignes created CB-613:

             Summary: Fix console.log not sprintf'ing input content
                 Key: CB-613
             Project: Apache Callback
          Issue Type: Bug
          Components: iOS
            Reporter: Olivier Louvignes
            Assignee: Shazron Abdullah
            Priority: Minor

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


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message