{ "id": "92530", "key": "TIMOB-9306", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": "13414", "description": "Sprint 2012-08 Blackberry", "name": "Sprint 2012-08 BB", "archived": true, "released": true, "releaseDate": "2012-07-01" }, { "id": "14374", "description": "", "name": "BB Preview 3", "archived": true, "released": true } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-29T10:42:51.000+0000", "created": "2012-05-30T07:31:17.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "17915", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "92474", "key": "TIMOB-9293", "fields": { "summary": "BlackBerry: Create string table for Titanium error messages", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "jlemieux", "key": "jlemieux", "displayName": "Jean-Philippe Lemieux", "active": true, "timeZone": "America/Montreal" }, "updated": "2017-03-08T18:13:33.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Need to add a universal logger to the framework. May use exceptions and stop the app in debug mode and only log in release mode.\r\n\r\nAlso go over all existing qDebug and printf to update them to use the new logger.\r\n\r\nThe logger will also need to do some locking to ensure that logging from concurrent threads doesn't result in logs cut and merged in the middle.", "attachment": [], "flagged": false, "summary": "Blackberry: add a universal logging mechanism for tibb", "creator": { "name": "jlemieux", "key": "jlemieux", "displayName": "Jean-Philippe Lemieux", "active": true, "timeZone": "America/Montreal" }, "subtasks": [], "reporter": { "name": "jlemieux", "key": "jlemieux", "displayName": "Jean-Philippe Lemieux", "active": true, "timeZone": "America/Montreal" }, "environment": null, "comment": { "comments": [ { "id": "199365", "author": { "name": "dlifshitz", "key": "dlifshitz", "displayName": "David Lifshitz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Notes from JP:\r\n- thread safety\r\n- use of a tag (ERROR, DEBUG, etc)\r\n- function name + line number\r\n- actual logger should be in the native implementation\r\n - logger should be in the native side and retrievable via the factoryObject, then the Ti will write to it, so the interface needs to be generic to allow for other native implementations\r\n- Alex already created a macro that uses qDebug underneath\r\n\r\n\r\nAlso, some guy on the internet says qDebug isn't thread safe, but need to check more. There's also possibly an ndk logging mechanism since there is already some sort of log.", "updateAuthor": { "name": "dlifshitz", "key": "dlifshitz", "displayName": "David Lifshitz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-20T10:48:04.000+0000", "updated": "2012-06-20T10:48:04.000+0000" }, { "id": "199376", "author": { "name": "dlifshitz", "key": "dlifshitz", "displayName": "David Lifshitz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I saw a suggestion to put the logging in its own thread.", "updateAuthor": { "name": "dlifshitz", "key": "dlifshitz", "displayName": "David Lifshitz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-20T11:17:54.000+0000", "updated": "2012-06-20T11:17:54.000+0000" }, { "id": "200110", "author": { "name": "dlifshitz", "key": "dlifshitz", "displayName": "David Lifshitz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/Macadamian/titanium_mobile/pull/85", "updateAuthor": { "name": "dlifshitz", "key": "dlifshitz", "displayName": "David Lifshitz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-25T13:30:15.000+0000", "updated": "2012-06-25T13:30:15.000+0000" }, { "id": "409872", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as resolved.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-08T18:13:33.000+0000", "updated": "2017-03-08T18:13:33.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }