{"action":"closed","number":35,"pull_request":{"url":"https://api.github.com/repos/p4lang/switch/pulls/35","id":67980887,"html_url":"https://github.com/p4lang/switch/pull/35","diff_url":"https://github.com/p4lang/switch/pull/35.diff","patch_url":"https://github.com/p4lang/switch/pull/35.patch","issue_url":"https://api.github.com/repos/p4lang/switch/issues/35","number":35,"state":"closed","locked":false,"title":"Add apis to register external logger function.","user":{"login":"pbhide","id":11168134,"avatar_url":"https://avatars.githubusercontent.com/u/11168134?v=3","gravatar_id":"","url":"https://api.github.com/users/pbhide","html_url":"https://github.com/pbhide","followers_url":"https://api.github.com/users/pbhide/followers","following_url":"https://api.github.com/users/pbhide/following{/other_user}","gists_url":"https://api.github.com/users/pbhide/gists{/gist_id}","starred_url":"https://api.github.com/users/pbhide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbhide/subscriptions","organizations_url":"https://api.github.com/users/pbhide/orgs","repos_url":"https://api.github.com/users/pbhide/repos","events_url":"https://api.github.com/users/pbhide/events{/privacy}","received_events_url":"https://api.github.com/users/pbhide/received_events","type":"User","site_admin":false},"body":"This allows switchapi logs to be integrated with customer's logging infra","created_at":"2016-04-27T00:49:19Z","updated_at":"2016-04-27T01:28:31Z","closed_at":"2016-04-27T01:28:31Z","merged_at":"2016-04-27T01:28:31Z","merge_commit_sha":"c39045645f4d185d75dafcf78a2294a36f6605fe","assignee":{"login":"krambn","id":7293882,"avatar_url":"https://avatars.githubusercontent.com/u/7293882?v=3","gravatar_id":"","url":"https://api.github.com/users/krambn","html_url":"https://github.com/krambn","followers_url":"https://api.github.com/users/krambn/followers","following_url":"https://api.github.com/users/krambn/following{/other_user}","gists_url":"https://api.github.com/users/krambn/gists{/gist_id}","starred_url":"https://api.github.com/users/krambn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krambn/subscriptions","organizations_url":"https://api.github.com/users/krambn/orgs","repos_url":"https://api.github.com/users/krambn/repos","events_url":"https://api.github.com/users/krambn/events{/privacy}","received_events_url":"https://api.github.com/users/krambn/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/p4lang/switch/pulls/35/commits","review_comments_url":"https://api.github.com/repos/p4lang/switch/pulls/35/comments","review_comment_url":"https://api.github.com/repos/p4lang/switch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/p4lang/switch/issues/35/comments","statuses_url":"https://api.github.com/repos/p4lang/switch/statuses/b97681676cad86eeacbe77d27a42b73843c825fb","head":{"label":"p4lang:logging","ref":"logging","sha":"b97681676cad86eeacbe77d27a42b73843c825fb","user":{"login":"p4lang","id":10765181,"avatar_url":"https://avatars.githubusercontent.com/u/10765181?v=3","gravatar_id":"","url":"https://api.github.com/users/p4lang","html_url":"https://github.com/p4lang","followers_url":"https://api.github.com/users/p4lang/followers","following_url":"https://api.github.com/users/p4lang/following{/other_user}","gists_url":"https://api.github.com/users/p4lang/gists{/gist_id}","starred_url":"https://api.github.com/users/p4lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4lang/subscriptions","organizations_url":"https://api.github.com/users/p4lang/orgs","repos_url":"https://api.github.com/users/p4lang/repos","events_url":"https://api.github.com/users/p4lang/events{/privacy}","received_events_url":"https://api.github.com/users/p4lang/received_events","type":"Organization","site_admin":false},"repo":{"id":46066780,"name":"switch","full_name":"p4lang/switch","owner":{"login":"p4lang","id":10765181,"avatar_url":"https://avatars.githubusercontent.com/u/10765181?v=3","gravatar_id":"","url":"https://api.github.com/users/p4lang","html_url":"https://github.com/p4lang","followers_url":"https://api.github.com/users/p4lang/followers","following_url":"https://api.github.com/users/p4lang/following{/other_user}","gists_url":"https://api.github.com/users/p4lang/gists{/gist_id}","starred_url":"https://api.github.com/users/p4lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4lang/subscriptions","organizations_url":"https://api.github.com/users/p4lang/orgs","repos_url":"https://api.github.com/users/p4lang/repos","events_url":"https://api.github.com/users/p4lang/events{/privacy}","received_events_url":"https://api.github.com/users/p4lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/p4lang/switch","description":"Consolidated switch repo (API, SAI and Nettlink)","fork":false,"url":"https://api.github.com/repos/p4lang/switch","forks_url":"https://api.github.com/repos/p4lang/switch/forks","keys_url":"https://api.github.com/repos/p4lang/switch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/p4lang/switch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/p4lang/switch/teams","hooks_url":"https://api.github.com/repos/p4lang/switch/hooks","issue_events_url":"https://api.github.com/repos/p4lang/switch/issues/events{/number}","events_url":"https://api.github.com/repos/p4lang/switch/events","assignees_url":"https://api.github.com/repos/p4lang/switch/assignees{/user}","branches_url":"https://api.github.com/repos/p4lang/switch/branches{/branch}","tags_url":"https://api.github.com/repos/p4lang/switch/tags","blobs_url":"https://api.github.com/repos/p4lang/switch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/p4lang/switch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/p4lang/switch/git/refs{/sha}","trees_url":"https://api.github.com/repos/p4lang/switch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/p4lang/switch/statuses/{sha}","languages_url":"https://api.github.com/repos/p4lang/switch/languages","stargazers_url":"https://api.github.com/repos/p4lang/switch/stargazers","contributors_url":"https://api.github.com/repos/p4lang/switch/contributors","subscribers_url":"https://api.github.com/repos/p4lang/switch/subscribers","subscription_url":"https://api.github.com/repos/p4lang/switch/subscription","commits_url":"https://api.github.com/repos/p4lang/switch/commits{/sha}","git_commits_url":"https://api.github.com/repos/p4lang/switch/git/commits{/sha}","comments_url":"https://api.github.com/repos/p4lang/switch/comments{/number}","issue_comment_url":"https://api.github.com/repos/p4lang/switch/issues/comments{/number}","contents_url":"https://api.github.com/repos/p4lang/switch/contents/{+path}","compare_url":"https://api.github.com/repos/p4lang/switch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/p4lang/switch/merges","archive_url":"https://api.github.com/repos/p4lang/switch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/p4lang/switch/downloads","issues_url":"https://api.github.com/repos/p4lang/switch/issues{/number}","pulls_url":"https://api.github.com/repos/p4lang/switch/pulls{/number}","milestones_url":"https://api.github.com/repos/p4lang/switch/milestones{/number}","notifications_url":"https://api.github.com/repos/p4lang/switch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/p4lang/switch/labels{/name}","releases_url":"https://api.github.com/repos/p4lang/switch/releases{/id}","deployments_url":"https://api.github.com/repos/p4lang/switch/deployments","created_at":"2015-11-12T16:49:56Z","updated_at":"2016-01-25T08:45:01Z","pushed_at":"2016-04-27T01:28:31Z","git_url":"git://github.com/p4lang/switch.git","ssh_url":"git@github.com:p4lang/switch.git","clone_url":"https://github.com/p4lang/switch.git","svn_url":"https://github.com/p4lang/switch","homepage":null,"size":2382,"stargazers_count":4,"watchers_count":4,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":4,"default_branch":"master"}},"base":{"label":"p4lang:ops","ref":"ops","sha":"a60a8ff0434038f9a0ae0e8e52a9256ee10e8187","user":{"login":"p4lang","id":10765181,"avatar_url":"https://avatars.githubusercontent.com/u/10765181?v=3","gravatar_id":"","url":"https://api.github.com/users/p4lang","html_url":"https://github.com/p4lang","followers_url":"https://api.github.com/users/p4lang/followers","following_url":"https://api.github.com/users/p4lang/following{/other_user}","gists_url":"https://api.github.com/users/p4lang/gists{/gist_id}","starred_url":"https://api.github.com/users/p4lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4lang/subscriptions","organizations_url":"https://api.github.com/users/p4lang/orgs","repos_url":"https://api.github.com/users/p4lang/repos","events_url":"https://api.github.com/users/p4lang/events{/privacy}","received_events_url":"https://api.github.com/users/p4lang/received_events","type":"Organization","site_admin":false},"repo":{"id":46066780,"name":"switch","full_name":"p4lang/switch","owner":{"login":"p4lang","id":10765181,"avatar_url":"https://avatars.githubusercontent.com/u/10765181?v=3","gravatar_id":"","url":"https://api.github.com/users/p4lang","html_url":"https://github.com/p4lang","followers_url":"https://api.github.com/users/p4lang/followers","following_url":"https://api.github.com/users/p4lang/following{/other_user}","gists_url":"https://api.github.com/users/p4lang/gists{/gist_id}","starred_url":"https://api.github.com/users/p4lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4lang/subscriptions","organizations_url":"https://api.github.com/users/p4lang/orgs","repos_url":"https://api.github.com/users/p4lang/repos","events_url":"https://api.github.com/users/p4lang/events{/privacy}","received_events_url":"https://api.github.com/users/p4lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/p4lang/switch","description":"Consolidated switch repo (API, SAI and Nettlink)","fork":false,"url":"https://api.github.com/repos/p4lang/switch","forks_url":"https://api.github.com/repos/p4lang/switch/forks","keys_url":"https://api.github.com/repos/p4lang/switch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/p4lang/switch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/p4lang/switch/teams","hooks_url":"https://api.github.com/repos/p4lang/switch/hooks","issue_events_url":"https://api.github.com/repos/p4lang/switch/issues/events{/number}","events_url":"https://api.github.com/repos/p4lang/switch/events","assignees_url":"https://api.github.com/repos/p4lang/switch/assignees{/user}","branches_url":"https://api.github.com/repos/p4lang/switch/branches{/branch}","tags_url":"https://api.github.com/repos/p4lang/switch/tags","blobs_url":"https://api.github.com/repos/p4lang/switch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/p4lang/switch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/p4lang/switch/git/refs{/sha}","trees_url":"https://api.github.com/repos/p4lang/switch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/p4lang/switch/statuses/{sha}","languages_url":"https://api.github.com/repos/p4lang/switch/languages","stargazers_url":"https://api.github.com/repos/p4lang/switch/stargazers","contributors_url":"https://api.github.com/repos/p4lang/switch/contributors","subscribers_url":"https://api.github.com/repos/p4lang/switch/subscribers","subscription_url":"https://api.github.com/repos/p4lang/switch/subscription","commits_url":"https://api.github.com/repos/p4lang/switch/commits{/sha}","git_commits_url":"https://api.github.com/repos/p4lang/switch/git/commits{/sha}","comments_url":"https://api.github.com/repos/p4lang/switch/comments{/number}","issue_comment_url":"https://api.github.com/repos/p4lang/switch/issues/comments{/number}","contents_url":"https://api.github.com/repos/p4lang/switch/contents/{+path}","compare_url":"https://api.github.com/repos/p4lang/switch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/p4lang/switch/merges","archive_url":"https://api.github.com/repos/p4lang/switch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/p4lang/switch/downloads","issues_url":"https://api.github.com/repos/p4lang/switch/issues{/number}","pulls_url":"https://api.github.com/repos/p4lang/switch/pulls{/number}","milestones_url":"https://api.github.com/repos/p4lang/switch/milestones{/number}","notifications_url":"https://api.github.com/repos/p4lang/switch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/p4lang/switch/labels{/name}","releases_url":"https://api.github.com/repos/p4lang/switch/releases{/id}","deployments_url":"https://api.github.com/repos/p4lang/switch/deployments","created_at":"2015-11-12T16:49:56Z","updated_at":"2016-01-25T08:45:01Z","pushed_at":"2016-04-27T01:28:31Z","git_url":"git://github.com/p4lang/switch.git","ssh_url":"git@github.com:p4lang/switch.git","clone_url":"https://github.com/p4lang/switch.git","svn_url":"https://github.com/p4lang/switch","homepage":null,"size":2382,"stargazers_count":4,"watchers_count":4,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/p4lang/switch/pulls/35"},"html":{"href":"https://github.com/p4lang/switch/pull/35"},"issue":{"href":"https://api.github.com/repos/p4lang/switch/issues/35"},"comments":{"href":"https://api.github.com/repos/p4lang/switch/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/p4lang/switch/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/p4lang/switch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/p4lang/switch/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/p4lang/switch/statuses/b97681676cad86eeacbe77d27a42b73843c825fb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pbhide","id":11168134,"avatar_url":"https://avatars.githubusercontent.com/u/11168134?v=3","gravatar_id":"","url":"https://api.github.com/users/pbhide","html_url":"https://github.com/pbhide","followers_url":"https://api.github.com/users/pbhide/followers","following_url":"https://api.github.com/users/pbhide/following{/other_user}","gists_url":"https://api.github.com/users/pbhide/gists{/gist_id}","starred_url":"https://api.github.com/users/pbhide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbhide/subscriptions","organizations_url":"https://api.github.com/users/pbhide/orgs","repos_url":"https://api.github.com/users/pbhide/repos","events_url":"https://api.github.com/users/pbhide/events{/privacy}","received_events_url":"https://api.github.com/users/pbhide/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":128,"deletions":29,"changed_files":21}}