[
https://issues.apache.org/jira/browse/CB-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593044#comment-13593044
]
Carlos Andreu edited comment on CB-2620 at 3/5/13 6:35 AM:
-----------------------------------------------------------
I sent a pull request with a possible fix:
https://github.com/apache/cordova-js/pull/16
EDIT: My comment was edited to reflect the correct URL with the pull request.
was (Author: cnandreu):
I sent a pull request with a possible fix:
https://github.com/apache/cordova-ios/pull/23
> console.log prints only the first argument on Xcode's console for iOS cordova
> apps
> ----------------------------------------------------------------------------------
>
> Key: CB-2620
> URL: https://issues.apache.org/jira/browse/CB-2620
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Environment: iOS
> Reporter: Carlos Andreu
> Assignee: Shazron Abdullah
> Priority: Minor
> Labels: console, cordova, ios, xcode
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> On most (all?) browsers, this is what happens:
> console.log('Hello', 'world', {hello: 'world'}, [1,2,3], 1, 2, true,
> undefined, null);
> //Output Chrome: Hello world Object {hello: "world"} [1, 2, 3] 1 2 true
> undefined null
> //Output Firefox: Hello world Object { hello= "world" } [ 1 , 2 , 3 ] 1 2
> true undefined null
> //Output Safari: Hello world Object [1, 2, 3] 1 2 true undefined null
> However, on Xcode's console, the output is:
> [LOG] Hello
> It only prints the first argument. This is unexpected behavior from web
> developers trying to add log messages to their cordova iOS apps.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira