{ "id": "90519", "key": "TIMOB-8780", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13402", "description": "Sprint 2012-10 Core", "name": "Sprint 2012-10 Core", "archived": true, "released": true, "releaseDate": "2012-05-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-29T08:46:59.000+0000", "created": "2012-04-18T13:43:07.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "module_console", "qe-port" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "17351", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "86359", "key": "TIMOB-7624", "fields": { "summary": "Android: Ti.API - enable logging methods to accept either an array of strings or a string", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-06-07T11:11:56.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "Add console.log support in Titanium Mobile\r\n\r\nsee article: http://crackcelerator.com/post/19742964227/console-log-support-in-appcelerator\r\n", "attachment": [], "flagged": false, "summary": "Ti API: Add console.log support", "creator": { "name": "gtavridis", "key": "gtavridis", "displayName": "Gabriel Tavridis", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gtavridis", "key": "gtavridis", "displayName": "Gabriel Tavridis", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "191649", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Mobile web already supports console.*() functions. :)", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-04-18T13:53:28.000+0000", "updated": "2012-04-18T13:53:28.000+0000" }, { "id": "197699", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing feature. Was able to use documented console.*() functions on:\r\n\r\nTested on:\r\nSDK build: 2.1.0.v20120605190238\r\nTitanium Studio, build: 2.1.0.201206051612\r\nRuntime: v8\r\nxcode: 4.3.2\r\nDevices: Emulator 2.2, Simulator 5.1", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-07T10:57:35.000+0000", "updated": "2012-06-07T10:57:35.000+0000" }, { "id": "197705", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "For QE, when porting, use the following test code:\r\n{code}\r\nvar win = Titanium.UI.createWindow({\r\n title : 'Test',\r\n backgroundColor : '#fff',\r\n layout : 'vertical'\r\n});\r\n\r\nvar debugButton = Titanium.UI.createButton({\r\n top : 20,\r\n left : 10,\r\n right : 10,\r\n height : 35,\r\n title : 'debug'\r\n});\r\nwin.add(debugButton);\r\n\r\nvar errorButton = Titanium.UI.createButton({\r\n top : 20,\r\n left : 10,\r\n right : 10,\r\n height : 35,\r\n title : 'error'\r\n});\r\nwin.add(errorButton);\r\n\r\nvar infoButton = Titanium.UI.createButton({\r\n top : 20,\r\n left : 10,\r\n right : 10,\r\n height : 35,\r\n title : 'info'\r\n});\r\nwin.add(infoButton);\r\n\r\nvar logButton = Titanium.UI.createButton({\r\n top : 20,\r\n left : 10,\r\n right : 10,\r\n height : 35,\r\n title : 'log'\r\n});\r\nwin.add(logButton);\r\n \r\nvar warnButton = Titanium.UI.createButton({\r\n top : 20,\r\n left : 10,\r\n right : 10,\r\n height : 35,\r\n title : 'warn'\r\n});\r\nwin.add(warnButton);\r\n\r\ndebugButton.addEventListener('click', function() {\r\n console.debug('##### DEBUG !!!');\r\n});\r\n \r\nerrorButton.addEventListener('click', function() {\r\n console.error('##### ERROR !!!');\r\n});\r\n\r\ninfoButton.addEventListener('click', function() {\r\n console.info('##### INFO !!!');\r\n});\r\n\r\nlogButton.addEventListener('click', function() {\r\n console.log('##### LOG !!!');\r\n});\r\n \r\nwarnButton.addEventListener('click', function() {\r\n console.warn('##### WARN !!!');\r\n});\r\n \r\nwin.open();\r\n\r\n{code} ", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-07T11:11:56.000+0000", "updated": "2012-06-07T11:11:56.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }