{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/BYK/loglevel/pulls/1","id":36425058,"html_url":"https://github.com/BYK/loglevel/pull/1","diff_url":"https://github.com/BYK/loglevel/pull/1.diff","patch_url":"https://github.com/BYK/loglevel/pull/1.patch","issue_url":"https://api.github.com/repos/BYK/loglevel/issues/1","number":1,"state":"closed","locked":false,"title":"Make log level persisting optional","user":{"login":"BYK","id":126780,"avatar_url":"https://avatars.githubusercontent.com/u/126780?v=3","gravatar_id":"","url":"https://api.github.com/users/BYK","html_url":"https://github.com/BYK","followers_url":"https://api.github.com/users/BYK/followers","following_url":"https://api.github.com/users/BYK/following{/other_user}","gists_url":"https://api.github.com/users/BYK/gists{/gist_id}","starred_url":"https://api.github.com/users/BYK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BYK/subscriptions","organizations_url":"https://api.github.com/users/BYK/orgs","repos_url":"https://api.github.com/users/BYK/repos","events_url":"https://api.github.com/users/BYK/events{/privacy}","received_events_url":"https://api.github.com/users/BYK/received_events","type":"User","site_admin":false},"body":"We want to set a higher log level in production by default but don't want it to be saved on users' browsers. Making persistence optional seemed like a good way to achieve this. The patch keeps the old behavior (persist by default) for backwards compatibility.","created_at":"2015-05-28T16:24:09Z","updated_at":"2015-05-28T16:52:48Z","closed_at":"2015-05-28T16:52:48Z","merged_at":null,"merge_commit_sha":"3074974cfb31ee95a718fd5f224b06508cade75c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BYK/loglevel/pulls/1/commits","review_comments_url":"https://api.github.com/repos/BYK/loglevel/pulls/1/comments","review_comment_url":"https://api.github.com/repos/BYK/loglevel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BYK/loglevel/issues/1/comments","statuses_url":"https://api.github.com/repos/BYK/loglevel/statuses/9d92863f00e70fa16c362f74a17a19611863942f","head":{"label":"BYK:optional-persistence","ref":"optional-persistence","sha":"9d92863f00e70fa16c362f74a17a19611863942f","user":{"login":"BYK","id":126780,"avatar_url":"https://avatars.githubusercontent.com/u/126780?v=3","gravatar_id":"","url":"https://api.github.com/users/BYK","html_url":"https://github.com/BYK","followers_url":"https://api.github.com/users/BYK/followers","following_url":"https://api.github.com/users/BYK/following{/other_user}","gists_url":"https://api.github.com/users/BYK/gists{/gist_id}","starred_url":"https://api.github.com/users/BYK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BYK/subscriptions","organizations_url":"https://api.github.com/users/BYK/orgs","repos_url":"https://api.github.com/users/BYK/repos","events_url":"https://api.github.com/users/BYK/events{/privacy}","received_events_url":"https://api.github.com/users/BYK/received_events","type":"User","site_admin":false},"repo":{"id":36450952,"name":"loglevel","full_name":"BYK/loglevel","owner":{"login":"BYK","id":126780,"avatar_url":"https://avatars.githubusercontent.com/u/126780?v=3","gravatar_id":"","url":"https://api.github.com/users/BYK","html_url":"https://github.com/BYK","followers_url":"https://api.github.com/users/BYK/followers","following_url":"https://api.github.com/users/BYK/following{/other_user}","gists_url":"https://api.github.com/users/BYK/gists{/gist_id}","starred_url":"https://api.github.com/users/BYK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BYK/subscriptions","organizations_url":"https://api.github.com/users/BYK/orgs","repos_url":"https://api.github.com/users/BYK/repos","events_url":"https://api.github.com/users/BYK/events{/privacy}","received_events_url":"https://api.github.com/users/BYK/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BYK/loglevel","description":"Minimal lightweight logging for JavaScript, adding reliable log level methods to wrap any available console.log methods","fork":true,"url":"https://api.github.com/repos/BYK/loglevel","forks_url":"https://api.github.com/repos/BYK/loglevel/forks","keys_url":"https://api.github.com/repos/BYK/loglevel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BYK/loglevel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BYK/loglevel/teams","hooks_url":"https://api.github.com/repos/BYK/loglevel/hooks","issue_events_url":"https://api.github.com/repos/BYK/loglevel/issues/events{/number}","events_url":"https://api.github.com/repos/BYK/loglevel/events","assignees_url":"https://api.github.com/repos/BYK/loglevel/assignees{/user}","branches_url":"https://api.github.com/repos/BYK/loglevel/branches{/branch}","tags_url":"https://api.github.com/repos/BYK/loglevel/tags","blobs_url":"https://api.github.com/repos/BYK/loglevel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BYK/loglevel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BYK/loglevel/git/refs{/sha}","trees_url":"https://api.github.com/repos/BYK/loglevel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BYK/loglevel/statuses/{sha}","languages_url":"https://api.github.com/repos/BYK/loglevel/languages","stargazers_url":"https://api.github.com/repos/BYK/loglevel/stargazers","contributors_url":"https://api.github.com/repos/BYK/loglevel/contributors","subscribers_url":"https://api.github.com/repos/BYK/loglevel/subscribers","subscription_url":"https://api.github.com/repos/BYK/loglevel/subscription","commits_url":"https://api.github.com/repos/BYK/loglevel/commits{/sha}","git_commits_url":"https://api.github.com/repos/BYK/loglevel/git/commits{/sha}","comments_url":"https://api.github.com/repos/BYK/loglevel/comments{/number}","issue_comment_url":"https://api.github.com/repos/BYK/loglevel/issues/comments{/number}","contents_url":"https://api.github.com/repos/BYK/loglevel/contents/{+path}","compare_url":"https://api.github.com/repos/BYK/loglevel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BYK/loglevel/merges","archive_url":"https://api.github.com/repos/BYK/loglevel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BYK/loglevel/downloads","issues_url":"https://api.github.com/repos/BYK/loglevel/issues{/number}","pulls_url":"https://api.github.com/repos/BYK/loglevel/pulls{/number}","milestones_url":"https://api.github.com/repos/BYK/loglevel/milestones{/number}","notifications_url":"https://api.github.com/repos/BYK/loglevel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BYK/loglevel/labels{/name}","releases_url":"https://api.github.com/repos/BYK/loglevel/releases{/id}","created_at":"2015-05-28T16:19:11Z","updated_at":"2015-05-28T16:19:11Z","pushed_at":"2015-05-28T16:24:09Z","git_url":"git://github.com/BYK/loglevel.git","ssh_url":"git@github.com:BYK/loglevel.git","clone_url":"https://github.com/BYK/loglevel.git","svn_url":"https://github.com/BYK/loglevel","homepage":"http://pimterry.github.com/loglevel","size":299,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"BYK:master","ref":"master","sha":"8793bd63a3f55bba00dfbd74789010b3c62f857d","user":{"login":"BYK","id":126780,"avatar_url":"https://avatars.githubusercontent.com/u/126780?v=3","gravatar_id":"","url":"https://api.github.com/users/BYK","html_url":"https://github.com/BYK","followers_url":"https://api.github.com/users/BYK/followers","following_url":"https://api.github.com/users/BYK/following{/other_user}","gists_url":"https://api.github.com/users/BYK/gists{/gist_id}","starred_url":"https://api.github.com/users/BYK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BYK/subscriptions","organizations_url":"https://api.github.com/users/BYK/orgs","repos_url":"https://api.github.com/users/BYK/repos","events_url":"https://api.github.com/users/BYK/events{/privacy}","received_events_url":"https://api.github.com/users/BYK/received_events","type":"User","site_admin":false},"repo":{"id":36450952,"name":"loglevel","full_name":"BYK/loglevel","owner":{"login":"BYK","id":126780,"avatar_url":"https://avatars.githubusercontent.com/u/126780?v=3","gravatar_id":"","url":"https://api.github.com/users/BYK","html_url":"https://github.com/BYK","followers_url":"https://api.github.com/users/BYK/followers","following_url":"https://api.github.com/users/BYK/following{/other_user}","gists_url":"https://api.github.com/users/BYK/gists{/gist_id}","starred_url":"https://api.github.com/users/BYK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BYK/subscriptions","organizations_url":"https://api.github.com/users/BYK/orgs","repos_url":"https://api.github.com/users/BYK/repos","events_url":"https://api.github.com/users/BYK/events{/privacy}","received_events_url":"https://api.github.com/users/BYK/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BYK/loglevel","description":"Minimal lightweight logging for JavaScript, adding reliable log level methods to wrap any available console.log methods","fork":true,"url":"https://api.github.com/repos/BYK/loglevel","forks_url":"https://api.github.com/repos/BYK/loglevel/forks","keys_url":"https://api.github.com/repos/BYK/loglevel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BYK/loglevel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BYK/loglevel/teams","hooks_url":"https://api.github.com/repos/BYK/loglevel/hooks","issue_events_url":"https://api.github.com/repos/BYK/loglevel/issues/events{/number}","events_url":"https://api.github.com/repos/BYK/loglevel/events","assignees_url":"https://api.github.com/repos/BYK/loglevel/assignees{/user}","branches_url":"https://api.github.com/repos/BYK/loglevel/branches{/branch}","tags_url":"https://api.github.com/repos/BYK/loglevel/tags","blobs_url":"https://api.github.com/repos/BYK/loglevel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BYK/loglevel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BYK/loglevel/git/refs{/sha}","trees_url":"https://api.github.com/repos/BYK/loglevel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BYK/loglevel/statuses/{sha}","languages_url":"https://api.github.com/repos/BYK/loglevel/languages","stargazers_url":"https://api.github.com/repos/BYK/loglevel/stargazers","contributors_url":"https://api.github.com/repos/BYK/loglevel/contributors","subscribers_url":"https://api.github.com/repos/BYK/loglevel/subscribers","subscription_url":"https://api.github.com/repos/BYK/loglevel/subscription","commits_url":"https://api.github.com/repos/BYK/loglevel/commits{/sha}","git_commits_url":"https://api.github.com/repos/BYK/loglevel/git/commits{/sha}","comments_url":"https://api.github.com/repos/BYK/loglevel/comments{/number}","issue_comment_url":"https://api.github.com/repos/BYK/loglevel/issues/comments{/number}","contents_url":"https://api.github.com/repos/BYK/loglevel/contents/{+path}","compare_url":"https://api.github.com/repos/BYK/loglevel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BYK/loglevel/merges","archive_url":"https://api.github.com/repos/BYK/loglevel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BYK/loglevel/downloads","issues_url":"https://api.github.com/repos/BYK/loglevel/issues{/number}","pulls_url":"https://api.github.com/repos/BYK/loglevel/pulls{/number}","milestones_url":"https://api.github.com/repos/BYK/loglevel/milestones{/number}","notifications_url":"https://api.github.com/repos/BYK/loglevel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BYK/loglevel/labels{/name}","releases_url":"https://api.github.com/repos/BYK/loglevel/releases{/id}","created_at":"2015-05-28T16:19:11Z","updated_at":"2015-05-28T16:19:11Z","pushed_at":"2015-05-28T16:24:09Z","git_url":"git://github.com/BYK/loglevel.git","ssh_url":"git@github.com:BYK/loglevel.git","clone_url":"https://github.com/BYK/loglevel.git","svn_url":"https://github.com/BYK/loglevel","homepage":"http://pimterry.github.com/loglevel","size":299,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BYK/loglevel/pulls/1"},"html":{"href":"https://github.com/BYK/loglevel/pull/1"},"issue":{"href":"https://api.github.com/repos/BYK/loglevel/issues/1"},"comments":{"href":"https://api.github.com/repos/BYK/loglevel/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/BYK/loglevel/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/BYK/loglevel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BYK/loglevel/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/BYK/loglevel/statuses/9d92863f00e70fa16c362f74a17a19611863942f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":6,"changed_files":1}}