{"action":"created","comment":{"url":"https://api.github.com/repos/appium/appium-ios-driver/pulls/comments/35806886","id":35806886,"diff_hunk":"@@ -0,0 +1,68 @@\n+import path from 'path';\n+import _fs from 'fs';\n+import _ from 'lodash';\n+import glob from 'glob';\n+import { getLogger } from 'appium-support';\n+import B from 'bluebird';\n+\n+let fs = {\n+  stat: B.promisify(_fs.statSync),\n+  readFile: B.promisify(_fs.readFile)\n+};\n+require('date-utils');\n+let logger = getLogger('ios-crash-log');","path":"lib/ios-crash-log.js","position":13,"original_position":13,"commit_id":"5e904eb06707cb14c5d08fba0be79a349c02faa3","original_commit_id":"5e904eb06707cb14c5d08fba0be79a349c02faa3","user":{"login":"jlipps","id":605053,"avatar_url":"https://avatars.githubusercontent.com/u/605053?v=3","gravatar_id":"","url":"https://api.github.com/users/jlipps","html_url":"https://github.com/jlipps","followers_url":"https://api.github.com/users/jlipps/followers","following_url":"https://api.github.com/users/jlipps/following{/other_user}","gists_url":"https://api.github.com/users/jlipps/gists{/gist_id}","starred_url":"https://api.github.com/users/jlipps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlipps/subscriptions","organizations_url":"https://api.github.com/users/jlipps/orgs","repos_url":"https://api.github.com/users/jlipps/repos","events_url":"https://api.github.com/users/jlipps/events{/privacy}","received_events_url":"https://api.github.com/users/jlipps/received_events","type":"User","site_admin":false},"body":"FWIW I've been using UpperCamelCase for log names, like BaseDriver, AndroidDriver, etc... If we want to follow that, these should be IOSLog and IOSCrashLog","created_at":"2015-07-29T20:21:19Z","updated_at":"2015-07-29T20:21:19Z","html_url":"https://github.com/appium/appium-ios-driver/pull/2#discussion_r35806886","pull_request_url":"https://api.github.com/repos/appium/appium-ios-driver/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/appium/appium-ios-driver/pulls/comments/35806886"},"html":{"href":"https://github.com/appium/appium-ios-driver/pull/2#discussion_r35806886"},"pull_request":{"href":"https://api.github.com/repos/appium/appium-ios-driver/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/appium/appium-ios-driver/pulls/2","id":41156135,"html_url":"https://github.com/appium/appium-ios-driver/pull/2","diff_url":"https://github.com/appium/appium-ios-driver/pull/2.diff","patch_url":"https://github.com/appium/appium-ios-driver/pull/2.patch","issue_url":"https://api.github.com/repos/appium/appium-ios-driver/issues/2","number":2,"state":"open","locked":false,"title":"ios-log and ios-crash-log first run through","user":{"login":"syang97","id":8731793,"avatar_url":"https://avatars.githubusercontent.com/u/8731793?v=3","gravatar_id":"","url":"https://api.github.com/users/syang97","html_url":"https://github.com/syang97","followers_url":"https://api.github.com/users/syang97/followers","following_url":"https://api.github.com/users/syang97/following{/other_user}","gists_url":"https://api.github.com/users/syang97/gists{/gist_id}","starred_url":"https://api.github.com/users/syang97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syang97/subscriptions","organizations_url":"https://api.github.com/users/syang97/orgs","repos_url":"https://api.github.com/users/syang97/repos","events_url":"https://api.github.com/users/syang97/events{/privacy}","received_events_url":"https://api.github.com/users/syang97/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-29T18:32:11Z","updated_at":"2015-07-29T20:21:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf0c087fd7bc8b2a03b52f272701874900bbb187","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/appium/appium-ios-driver/pulls/2/commits","review_comments_url":"https://api.github.com/repos/appium/appium-ios-driver/pulls/2/comments","review_comment_url":"https://api.github.com/repos/appium/appium-ios-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appium/appium-ios-driver/issues/2/comments","statuses_url":"https://api.github.com/repos/appium/appium-ios-driver/statuses/5e904eb06707cb14c5d08fba0be79a349c02faa3","head":{"label":"syang97:master","ref":"master","sha":"5e904eb06707cb14c5d08fba0be79a349c02faa3","user":{"login":"syang97","id":8731793,"avatar_url":"https://avatars.githubusercontent.com/u/8731793?v=3","gravatar_id":"","url":"https://api.github.com/users/syang97","html_url":"https://github.com/syang97","followers_url":"https://api.github.com/users/syang97/followers","following_url":"https://api.github.com/users/syang97/following{/other_user}","gists_url":"https://api.github.com/users/syang97/gists{/gist_id}","starred_url":"https://api.github.com/users/syang97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syang97/subscriptions","organizations_url":"https://api.github.com/users/syang97/orgs","repos_url":"https://api.github.com/users/syang97/repos","events_url":"https://api.github.com/users/syang97/events{/privacy}","received_events_url":"https://api.github.com/users/syang97/received_events","type":"User","site_admin":false},"repo":{"id":39797094,"name":"appium-ios-driver","full_name":"syang97/appium-ios-driver","owner":{"login":"syang97","id":8731793,"avatar_url":"https://avatars.githubusercontent.com/u/8731793?v=3","gravatar_id":"","url":"https://api.github.com/users/syang97","html_url":"https://github.com/syang97","followers_url":"https://api.github.com/users/syang97/followers","following_url":"https://api.github.com/users/syang97/following{/other_user}","gists_url":"https://api.github.com/users/syang97/gists{/gist_id}","starred_url":"https://api.github.com/users/syang97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syang97/subscriptions","organizations_url":"https://api.github.com/users/syang97/orgs","repos_url":"https://api.github.com/users/syang97/repos","events_url":"https://api.github.com/users/syang97/events{/privacy}","received_events_url":"https://api.github.com/users/syang97/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/syang97/appium-ios-driver","description":"The iOS driver for the new appium.","fork":true,"url":"https://api.github.com/repos/syang97/appium-ios-driver","forks_url":"https://api.github.com/repos/syang97/appium-ios-driver/forks","keys_url":"https://api.github.com/repos/syang97/appium-ios-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/syang97/appium-ios-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/syang97/appium-ios-driver/teams","hooks_url":"https://api.github.com/repos/syang97/appium-ios-driver/hooks","issue_events_url":"https://api.github.com/repos/syang97/appium-ios-driver/issues/events{/number}","events_url":"https://api.github.com/repos/syang97/appium-ios-driver/events","assignees_url":"https://api.github.com/repos/syang97/appium-ios-driver/assignees{/user}","branches_url":"https://api.github.com/repos/syang97/appium-ios-driver/branches{/branch}","tags_url":"https://api.github.com/repos/syang97/appium-ios-driver/tags","blobs_url":"https://api.github.com/repos/syang97/appium-ios-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/syang97/appium-ios-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/syang97/appium-ios-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/syang97/appium-ios-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/syang97/appium-ios-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/syang97/appium-ios-driver/languages","stargazers_url":"https://api.github.com/repos/syang97/appium-ios-driver/stargazers","contributors_url":"https://api.github.com/repos/syang97/appium-ios-driver/contributors","subscribers_url":"https://api.github.com/repos/syang97/appium-ios-driver/subscribers","subscription_url":"https://api.github.com/repos/syang97/appium-ios-driver/subscription","commits_url":"https://api.github.com/repos/syang97/appium-ios-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/syang97/appium-ios-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/syang97/appium-ios-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/syang97/appium-ios-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/syang97/appium-ios-driver/contents/{+path}","compare_url":"https://api.github.com/repos/syang97/appium-ios-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/syang97/appium-ios-driver/merges","archive_url":"https://api.github.com/repos/syang97/appium-ios-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/syang97/appium-ios-driver/downloads","issues_url":"https://api.github.com/repos/syang97/appium-ios-driver/issues{/number}","pulls_url":"https://api.github.com/repos/syang97/appium-ios-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/syang97/appium-ios-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/syang97/appium-ios-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/syang97/appium-ios-driver/labels{/name}","releases_url":"https://api.github.com/repos/syang97/appium-ios-driver/releases{/id}","created_at":"2015-07-27T20:47:57Z","updated_at":"2015-07-27T20:47:57Z","pushed_at":"2015-07-29T18:31:14Z","git_url":"git://github.com/syang97/appium-ios-driver.git","ssh_url":"git@github.com:syang97/appium-ios-driver.git","clone_url":"https://github.com/syang97/appium-ios-driver.git","svn_url":"https://github.com/syang97/appium-ios-driver","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"appium:master","ref":"master","sha":"3556c847a8cefb6afd5b6998af4648e2245a674a","user":{"login":"appium","id":3221291,"avatar_url":"https://avatars.githubusercontent.com/u/3221291?v=3","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"repo":{"id":39789366,"name":"appium-ios-driver","full_name":"appium/appium-ios-driver","owner":{"login":"appium","id":3221291,"avatar_url":"https://avatars.githubusercontent.com/u/3221291?v=3","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appium/appium-ios-driver","description":"The iOS driver for the new appium.","fork":false,"url":"https://api.github.com/repos/appium/appium-ios-driver","forks_url":"https://api.github.com/repos/appium/appium-ios-driver/forks","keys_url":"https://api.github.com/repos/appium/appium-ios-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appium/appium-ios-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appium/appium-ios-driver/teams","hooks_url":"https://api.github.com/repos/appium/appium-ios-driver/hooks","issue_events_url":"https://api.github.com/repos/appium/appium-ios-driver/issues/events{/number}","events_url":"https://api.github.com/repos/appium/appium-ios-driver/events","assignees_url":"https://api.github.com/repos/appium/appium-ios-driver/assignees{/user}","branches_url":"https://api.github.com/repos/appium/appium-ios-driver/branches{/branch}","tags_url":"https://api.github.com/repos/appium/appium-ios-driver/tags","blobs_url":"https://api.github.com/repos/appium/appium-ios-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appium/appium-ios-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appium/appium-ios-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/appium/appium-ios-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appium/appium-ios-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/appium/appium-ios-driver/languages","stargazers_url":"https://api.github.com/repos/appium/appium-ios-driver/stargazers","contributors_url":"https://api.github.com/repos/appium/appium-ios-driver/contributors","subscribers_url":"https://api.github.com/repos/appium/appium-ios-driver/subscribers","subscription_url":"https://api.github.com/repos/appium/appium-ios-driver/subscription","commits_url":"https://api.github.com/repos/appium/appium-ios-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/appium/appium-ios-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/appium/appium-ios-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/appium/appium-ios-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/appium/appium-ios-driver/contents/{+path}","compare_url":"https://api.github.com/repos/appium/appium-ios-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appium/appium-ios-driver/merges","archive_url":"https://api.github.com/repos/appium/appium-ios-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appium/appium-ios-driver/downloads","issues_url":"https://api.github.com/repos/appium/appium-ios-driver/issues{/number}","pulls_url":"https://api.github.com/repos/appium/appium-ios-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/appium/appium-ios-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/appium/appium-ios-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appium/appium-ios-driver/labels{/name}","releases_url":"https://api.github.com/repos/appium/appium-ios-driver/releases{/id}","created_at":"2015-07-27T17:54:32Z","updated_at":"2015-07-27T20:13:13Z","pushed_at":"2015-07-29T18:32:11Z","git_url":"git://github.com/appium/appium-ios-driver.git","ssh_url":"git@github.com:appium/appium-ios-driver.git","clone_url":"https://github.com/appium/appium-ios-driver.git","svn_url":"https://github.com/appium/appium-ios-driver","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appium/appium-ios-driver/pulls/2"},"html":{"href":"https://github.com/appium/appium-ios-driver/pull/2"},"issue":{"href":"https://api.github.com/repos/appium/appium-ios-driver/issues/2"},"comments":{"href":"https://api.github.com/repos/appium/appium-ios-driver/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/appium/appium-ios-driver/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/appium/appium-ios-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appium/appium-ios-driver/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/appium/appium-ios-driver/statuses/5e904eb06707cb14c5d08fba0be79a349c02faa3"}}}}