{"action":"created","comment":{"url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/pulls/comments/52370237","id":52370237,"diff_hunk":"@@ -26,12 +26,29 @@\n \n #import <objc/runtime.h>\n \n+\n+#if __has_include(<CocoaLumberjack/DDLog.h>)\n+#import <CocoaLumberjack/DDLog.h>\n+// Global log level for the whole library, not per-file.\n+const int ddLogLevel = LOG_LEVEL_VERBOSE;","path":"AFHTTPClientLogger.m","position":8,"original_position":8,"commit_id":"b7d0cf07ce11bec80709e3623599b8c8cf92eea4","original_commit_id":"b7d0cf07ce11bec80709e3623599b8c8cf92eea4","user":{"login":"jparise","id":10311,"avatar_url":"https://avatars.githubusercontent.com/u/10311?v=3","gravatar_id":"","url":"https://api.github.com/users/jparise","html_url":"https://github.com/jparise","followers_url":"https://api.github.com/users/jparise/followers","following_url":"https://api.github.com/users/jparise/following{/other_user}","gists_url":"https://api.github.com/users/jparise/gists{/gist_id}","starred_url":"https://api.github.com/users/jparise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jparise/subscriptions","organizations_url":"https://api.github.com/users/jparise/orgs","repos_url":"https://api.github.com/users/jparise/repos","events_url":"https://api.github.com/users/jparise/events{/privacy}","received_events_url":"https://api.github.com/users/jparise/received_events","type":"User","site_admin":false},"body":"Should this use `DDLogLevel` instead of `int`?","created_at":"2016-02-09T20:41:15Z","updated_at":"2016-02-09T20:41:15Z","html_url":"https://github.com/jparise/AFHTTPClientLogger/pull/2#discussion_r52370237","pull_request_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/jparise/AFHTTPClientLogger/pulls/comments/52370237"},"html":{"href":"https://github.com/jparise/AFHTTPClientLogger/pull/2#discussion_r52370237"},"pull_request":{"href":"https://api.github.com/repos/jparise/AFHTTPClientLogger/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/pulls/2","id":58796379,"html_url":"https://github.com/jparise/AFHTTPClientLogger/pull/2","diff_url":"https://github.com/jparise/AFHTTPClientLogger/pull/2.diff","patch_url":"https://github.com/jparise/AFHTTPClientLogger/pull/2.patch","issue_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/issues/2","number":2,"state":"open","locked":false,"title":"CocoaLumberjack support and async notification handling","user":{"login":"rahul-malik","id":847936,"avatar_url":"https://avatars.githubusercontent.com/u/847936?v=3","gravatar_id":"","url":"https://api.github.com/users/rahul-malik","html_url":"https://github.com/rahul-malik","followers_url":"https://api.github.com/users/rahul-malik/followers","following_url":"https://api.github.com/users/rahul-malik/following{/other_user}","gists_url":"https://api.github.com/users/rahul-malik/gists{/gist_id}","starred_url":"https://api.github.com/users/rahul-malik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahul-malik/subscriptions","organizations_url":"https://api.github.com/users/rahul-malik/orgs","repos_url":"https://api.github.com/users/rahul-malik/repos","events_url":"https://api.github.com/users/rahul-malik/events{/privacy}","received_events_url":"https://api.github.com/users/rahul-malik/received_events","type":"User","site_admin":false},"body":"This change adds support for logging via CocoaLumberjack and moves notification handlers (operationDidStart/operationDidFinish) off the main thread.","created_at":"2016-02-09T19:30:04Z","updated_at":"2016-02-09T20:41:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9ac0f95ff57b93f2db201f1dd147bbe55b34528","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/pulls/2/commits","review_comments_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/pulls/2/comments","review_comment_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/issues/2/comments","statuses_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/statuses/b7d0cf07ce11bec80709e3623599b8c8cf92eea4","head":{"label":"rahul-malik:master","ref":"master","sha":"b7d0cf07ce11bec80709e3623599b8c8cf92eea4","user":{"login":"rahul-malik","id":847936,"avatar_url":"https://avatars.githubusercontent.com/u/847936?v=3","gravatar_id":"","url":"https://api.github.com/users/rahul-malik","html_url":"https://github.com/rahul-malik","followers_url":"https://api.github.com/users/rahul-malik/followers","following_url":"https://api.github.com/users/rahul-malik/following{/other_user}","gists_url":"https://api.github.com/users/rahul-malik/gists{/gist_id}","starred_url":"https://api.github.com/users/rahul-malik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahul-malik/subscriptions","organizations_url":"https://api.github.com/users/rahul-malik/orgs","repos_url":"https://api.github.com/users/rahul-malik/repos","events_url":"https://api.github.com/users/rahul-malik/events{/privacy}","received_events_url":"https://api.github.com/users/rahul-malik/received_events","type":"User","site_admin":false},"repo":{"id":51388264,"name":"AFHTTPClientLogger","full_name":"rahul-malik/AFHTTPClientLogger","owner":{"login":"rahul-malik","id":847936,"avatar_url":"https://avatars.githubusercontent.com/u/847936?v=3","gravatar_id":"","url":"https://api.github.com/users/rahul-malik","html_url":"https://github.com/rahul-malik","followers_url":"https://api.github.com/users/rahul-malik/followers","following_url":"https://api.github.com/users/rahul-malik/following{/other_user}","gists_url":"https://api.github.com/users/rahul-malik/gists{/gist_id}","starred_url":"https://api.github.com/users/rahul-malik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahul-malik/subscriptions","organizations_url":"https://api.github.com/users/rahul-malik/orgs","repos_url":"https://api.github.com/users/rahul-malik/repos","events_url":"https://api.github.com/users/rahul-malik/events{/privacy}","received_events_url":"https://api.github.com/users/rahul-malik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rahul-malik/AFHTTPClientLogger","description":"Configurable HTTP request logger for AFNetworking","fork":true,"url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger","forks_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/forks","keys_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/teams","hooks_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/hooks","issue_events_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/issues/events{/number}","events_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/events","assignees_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/assignees{/user}","branches_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/branches{/branch}","tags_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/tags","blobs_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/git/refs{/sha}","trees_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/statuses/{sha}","languages_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/languages","stargazers_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/stargazers","contributors_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/contributors","subscribers_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/subscribers","subscription_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/subscription","commits_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/commits{/sha}","git_commits_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/git/commits{/sha}","comments_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/comments{/number}","issue_comment_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/issues/comments{/number}","contents_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/contents/{+path}","compare_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/merges","archive_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/downloads","issues_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/issues{/number}","pulls_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/pulls{/number}","milestones_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/milestones{/number}","notifications_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/labels{/name}","releases_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/releases{/id}","deployments_url":"https://api.github.com/repos/rahul-malik/AFHTTPClientLogger/deployments","created_at":"2016-02-09T18:22:22Z","updated_at":"2016-02-09T18:22:23Z","pushed_at":"2016-02-09T19:28:40Z","git_url":"git://github.com/rahul-malik/AFHTTPClientLogger.git","ssh_url":"git@github.com:rahul-malik/AFHTTPClientLogger.git","clone_url":"https://github.com/rahul-malik/AFHTTPClientLogger.git","svn_url":"https://github.com/rahul-malik/AFHTTPClientLogger","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"jparise:master","ref":"master","sha":"f3088de16ebbc323476b50629fa948a88b3e31ae","user":{"login":"jparise","id":10311,"avatar_url":"https://avatars.githubusercontent.com/u/10311?v=3","gravatar_id":"","url":"https://api.github.com/users/jparise","html_url":"https://github.com/jparise","followers_url":"https://api.github.com/users/jparise/followers","following_url":"https://api.github.com/users/jparise/following{/other_user}","gists_url":"https://api.github.com/users/jparise/gists{/gist_id}","starred_url":"https://api.github.com/users/jparise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jparise/subscriptions","organizations_url":"https://api.github.com/users/jparise/orgs","repos_url":"https://api.github.com/users/jparise/repos","events_url":"https://api.github.com/users/jparise/events{/privacy}","received_events_url":"https://api.github.com/users/jparise/received_events","type":"User","site_admin":false},"repo":{"id":6394492,"name":"AFHTTPClientLogger","full_name":"jparise/AFHTTPClientLogger","owner":{"login":"jparise","id":10311,"avatar_url":"https://avatars.githubusercontent.com/u/10311?v=3","gravatar_id":"","url":"https://api.github.com/users/jparise","html_url":"https://github.com/jparise","followers_url":"https://api.github.com/users/jparise/followers","following_url":"https://api.github.com/users/jparise/following{/other_user}","gists_url":"https://api.github.com/users/jparise/gists{/gist_id}","starred_url":"https://api.github.com/users/jparise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jparise/subscriptions","organizations_url":"https://api.github.com/users/jparise/orgs","repos_url":"https://api.github.com/users/jparise/repos","events_url":"https://api.github.com/users/jparise/events{/privacy}","received_events_url":"https://api.github.com/users/jparise/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jparise/AFHTTPClientLogger","description":"Configurable HTTP request logger for AFNetworking","fork":false,"url":"https://api.github.com/repos/jparise/AFHTTPClientLogger","forks_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/forks","keys_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/teams","hooks_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/hooks","issue_events_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/issues/events{/number}","events_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/events","assignees_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/assignees{/user}","branches_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/branches{/branch}","tags_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/tags","blobs_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/git/refs{/sha}","trees_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/statuses/{sha}","languages_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/languages","stargazers_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/stargazers","contributors_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/contributors","subscribers_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/subscribers","subscription_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/subscription","commits_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/commits{/sha}","git_commits_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/git/commits{/sha}","comments_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/comments{/number}","issue_comment_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/issues/comments{/number}","contents_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/contents/{+path}","compare_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/merges","archive_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/downloads","issues_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/issues{/number}","pulls_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/pulls{/number}","milestones_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/milestones{/number}","notifications_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/labels{/name}","releases_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/releases{/id}","deployments_url":"https://api.github.com/repos/jparise/AFHTTPClientLogger/deployments","created_at":"2012-10-25T21:02:03Z","updated_at":"2016-01-22T03:06:54Z","pushed_at":"2016-02-09T19:30:05Z","git_url":"git://github.com/jparise/AFHTTPClientLogger.git","ssh_url":"git@github.com:jparise/AFHTTPClientLogger.git","clone_url":"https://github.com/jparise/AFHTTPClientLogger.git","svn_url":"https://github.com/jparise/AFHTTPClientLogger","homepage":null,"size":145,"stargazers_count":45,"watchers_count":45,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jparise/AFHTTPClientLogger/pulls/2"},"html":{"href":"https://github.com/jparise/AFHTTPClientLogger/pull/2"},"issue":{"href":"https://api.github.com/repos/jparise/AFHTTPClientLogger/issues/2"},"comments":{"href":"https://api.github.com/repos/jparise/AFHTTPClientLogger/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/jparise/AFHTTPClientLogger/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/jparise/AFHTTPClientLogger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jparise/AFHTTPClientLogger/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/jparise/AFHTTPClientLogger/statuses/b7d0cf07ce11bec80709e3623599b8c8cf92eea4"}}}}