Carlos Andreu created CB-2620:
---------------------------------
Summary: 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
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