{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/BBC-News/alephant-logger/pulls/6","id":28046899,"html_url":"https://github.com/BBC-News/alephant-logger/pull/6","diff_url":"https://github.com/BBC-News/alephant-logger/pull/6.diff","patch_url":"https://github.com/BBC-News/alephant-logger/pull/6.patch","issue_url":"https://api.github.com/repos/BBC-News/alephant-logger/issues/6","number":6,"state":"open","locked":false,"title":"[WIP] Driver redesign","user":{"login":"darnould","id":7114097,"avatar_url":"https://avatars.githubusercontent.com/u/7114097?v=3","gravatar_id":"","url":"https://api.github.com/users/darnould","html_url":"https://github.com/darnould","followers_url":"https://api.github.com/users/darnould/followers","following_url":"https://api.github.com/users/darnould/following{/other_user}","gists_url":"https://api.github.com/users/darnould/gists{/gist_id}","starred_url":"https://api.github.com/users/darnould/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darnould/subscriptions","organizations_url":"https://api.github.com/users/darnould/orgs","repos_url":"https://api.github.com/users/darnould/repos","events_url":"https://api.github.com/users/darnould/events{/privacy}","received_events_url":"https://api.github.com/users/darnould/received_events","type":"User","site_admin":false},"body":"![](http://media.giphy.com/media/bdyJfwXYecKPK/giphy.gif)\r\n\r\n## Problem\r\nDecoration required `DelegatingLogger`s to be sandwiched between the various decorators.  Unnecessary complexity.\r\n\r\n## Solution\r\nA list of drivers (analogous to \"decorators\") given to `Alephant::Logger` - each method call to the logger is sent to each driver that can `respond_to?` it.\r\n\r\n\r\n**Major release**.\r\n","created_at":"2015-01-26T18:05:21Z","updated_at":"2015-01-26T18:05:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BBC-News/alephant-logger/pulls/6/commits","review_comments_url":"https://api.github.com/repos/BBC-News/alephant-logger/pulls/6/comments","review_comment_url":"https://api.github.com/repos/BBC-News/alephant-logger/pulls/comments/{number}","comments_url":"https://api.github.com/repos/BBC-News/alephant-logger/issues/6/comments","statuses_url":"https://api.github.com/repos/BBC-News/alephant-logger/statuses/03e6ccedc5cd8d27ef0663ad0099c5b6ec440217","head":{"label":"BBC-News:driver-list","ref":"driver-list","sha":"03e6ccedc5cd8d27ef0663ad0099c5b6ec440217","user":{"login":"BBC-News","id":1401475,"avatar_url":"https://avatars.githubusercontent.com/u/1401475?v=3","gravatar_id":"","url":"https://api.github.com/users/BBC-News","html_url":"https://github.com/BBC-News","followers_url":"https://api.github.com/users/BBC-News/followers","following_url":"https://api.github.com/users/BBC-News/following{/other_user}","gists_url":"https://api.github.com/users/BBC-News/gists{/gist_id}","starred_url":"https://api.github.com/users/BBC-News/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BBC-News/subscriptions","organizations_url":"https://api.github.com/users/BBC-News/orgs","repos_url":"https://api.github.com/users/BBC-News/repos","events_url":"https://api.github.com/users/BBC-News/events{/privacy}","received_events_url":"https://api.github.com/users/BBC-News/received_events","type":"Organization","site_admin":false},"repo":{"id":16804000,"name":"alephant-logger","full_name":"BBC-News/alephant-logger","owner":{"login":"BBC-News","id":1401475,"avatar_url":"https://avatars.githubusercontent.com/u/1401475?v=3","gravatar_id":"","url":"https://api.github.com/users/BBC-News","html_url":"https://github.com/BBC-News","followers_url":"https://api.github.com/users/BBC-News/followers","following_url":"https://api.github.com/users/BBC-News/following{/other_user}","gists_url":"https://api.github.com/users/BBC-News/gists{/gist_id}","starred_url":"https://api.github.com/users/BBC-News/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BBC-News/subscriptions","organizations_url":"https://api.github.com/users/BBC-News/orgs","repos_url":"https://api.github.com/users/BBC-News/repos","events_url":"https://api.github.com/users/BBC-News/events{/privacy}","received_events_url":"https://api.github.com/users/BBC-News/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BBC-News/alephant-logger","description":"Logger functionality for Alephant","fork":false,"url":"https://api.github.com/repos/BBC-News/alephant-logger","forks_url":"https://api.github.com/repos/BBC-News/alephant-logger/forks","keys_url":"https://api.github.com/repos/BBC-News/alephant-logger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BBC-News/alephant-logger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BBC-News/alephant-logger/teams","hooks_url":"https://api.github.com/repos/BBC-News/alephant-logger/hooks","issue_events_url":"https://api.github.com/repos/BBC-News/alephant-logger/issues/events{/number}","events_url":"https://api.github.com/repos/BBC-News/alephant-logger/events","assignees_url":"https://api.github.com/repos/BBC-News/alephant-logger/assignees{/user}","branches_url":"https://api.github.com/repos/BBC-News/alephant-logger/branches{/branch}","tags_url":"https://api.github.com/repos/BBC-News/alephant-logger/tags","blobs_url":"https://api.github.com/repos/BBC-News/alephant-logger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BBC-News/alephant-logger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BBC-News/alephant-logger/git/refs{/sha}","trees_url":"https://api.github.com/repos/BBC-News/alephant-logger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BBC-News/alephant-logger/statuses/{sha}","languages_url":"https://api.github.com/repos/BBC-News/alephant-logger/languages","stargazers_url":"https://api.github.com/repos/BBC-News/alephant-logger/stargazers","contributors_url":"https://api.github.com/repos/BBC-News/alephant-logger/contributors","subscribers_url":"https://api.github.com/repos/BBC-News/alephant-logger/subscribers","subscription_url":"https://api.github.com/repos/BBC-News/alephant-logger/subscription","commits_url":"https://api.github.com/repos/BBC-News/alephant-logger/commits{/sha}","git_commits_url":"https://api.github.com/repos/BBC-News/alephant-logger/git/commits{/sha}","comments_url":"https://api.github.com/repos/BBC-News/alephant-logger/comments{/number}","issue_comment_url":"https://api.github.com/repos/BBC-News/alephant-logger/issues/comments/{number}","contents_url":"https://api.github.com/repos/BBC-News/alephant-logger/contents/{+path}","compare_url":"https://api.github.com/repos/BBC-News/alephant-logger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BBC-News/alephant-logger/merges","archive_url":"https://api.github.com/repos/BBC-News/alephant-logger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BBC-News/alephant-logger/downloads","issues_url":"https://api.github.com/repos/BBC-News/alephant-logger/issues{/number}","pulls_url":"https://api.github.com/repos/BBC-News/alephant-logger/pulls{/number}","milestones_url":"https://api.github.com/repos/BBC-News/alephant-logger/milestones{/number}","notifications_url":"https://api.github.com/repos/BBC-News/alephant-logger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BBC-News/alephant-logger/labels{/name}","releases_url":"https://api.github.com/repos/BBC-News/alephant-logger/releases{/id}","created_at":"2014-02-13T13:43:06Z","updated_at":"2014-12-11T08:00:59Z","pushed_at":"2015-01-26T17:53:22Z","git_url":"git://github.com/BBC-News/alephant-logger.git","ssh_url":"git@github.com:BBC-News/alephant-logger.git","clone_url":"https://github.com/BBC-News/alephant-logger.git","svn_url":"https://github.com/BBC-News/alephant-logger","homepage":"","size":412,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"BBC-News:master","ref":"master","sha":"4c727052fbf547af685befce108217ae114888fb","user":{"login":"BBC-News","id":1401475,"avatar_url":"https://avatars.githubusercontent.com/u/1401475?v=3","gravatar_id":"","url":"https://api.github.com/users/BBC-News","html_url":"https://github.com/BBC-News","followers_url":"https://api.github.com/users/BBC-News/followers","following_url":"https://api.github.com/users/BBC-News/following{/other_user}","gists_url":"https://api.github.com/users/BBC-News/gists{/gist_id}","starred_url":"https://api.github.com/users/BBC-News/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BBC-News/subscriptions","organizations_url":"https://api.github.com/users/BBC-News/orgs","repos_url":"https://api.github.com/users/BBC-News/repos","events_url":"https://api.github.com/users/BBC-News/events{/privacy}","received_events_url":"https://api.github.com/users/BBC-News/received_events","type":"Organization","site_admin":false},"repo":{"id":16804000,"name":"alephant-logger","full_name":"BBC-News/alephant-logger","owner":{"login":"BBC-News","id":1401475,"avatar_url":"https://avatars.githubusercontent.com/u/1401475?v=3","gravatar_id":"","url":"https://api.github.com/users/BBC-News","html_url":"https://github.com/BBC-News","followers_url":"https://api.github.com/users/BBC-News/followers","following_url":"https://api.github.com/users/BBC-News/following{/other_user}","gists_url":"https://api.github.com/users/BBC-News/gists{/gist_id}","starred_url":"https://api.github.com/users/BBC-News/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BBC-News/subscriptions","organizations_url":"https://api.github.com/users/BBC-News/orgs","repos_url":"https://api.github.com/users/BBC-News/repos","events_url":"https://api.github.com/users/BBC-News/events{/privacy}","received_events_url":"https://api.github.com/users/BBC-News/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BBC-News/alephant-logger","description":"Logger functionality for Alephant","fork":false,"url":"https://api.github.com/repos/BBC-News/alephant-logger","forks_url":"https://api.github.com/repos/BBC-News/alephant-logger/forks","keys_url":"https://api.github.com/repos/BBC-News/alephant-logger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BBC-News/alephant-logger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BBC-News/alephant-logger/teams","hooks_url":"https://api.github.com/repos/BBC-News/alephant-logger/hooks","issue_events_url":"https://api.github.com/repos/BBC-News/alephant-logger/issues/events{/number}","events_url":"https://api.github.com/repos/BBC-News/alephant-logger/events","assignees_url":"https://api.github.com/repos/BBC-News/alephant-logger/assignees{/user}","branches_url":"https://api.github.com/repos/BBC-News/alephant-logger/branches{/branch}","tags_url":"https://api.github.com/repos/BBC-News/alephant-logger/tags","blobs_url":"https://api.github.com/repos/BBC-News/alephant-logger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BBC-News/alephant-logger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BBC-News/alephant-logger/git/refs{/sha}","trees_url":"https://api.github.com/repos/BBC-News/alephant-logger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BBC-News/alephant-logger/statuses/{sha}","languages_url":"https://api.github.com/repos/BBC-News/alephant-logger/languages","stargazers_url":"https://api.github.com/repos/BBC-News/alephant-logger/stargazers","contributors_url":"https://api.github.com/repos/BBC-News/alephant-logger/contributors","subscribers_url":"https://api.github.com/repos/BBC-News/alephant-logger/subscribers","subscription_url":"https://api.github.com/repos/BBC-News/alephant-logger/subscription","commits_url":"https://api.github.com/repos/BBC-News/alephant-logger/commits{/sha}","git_commits_url":"https://api.github.com/repos/BBC-News/alephant-logger/git/commits{/sha}","comments_url":"https://api.github.com/repos/BBC-News/alephant-logger/comments{/number}","issue_comment_url":"https://api.github.com/repos/BBC-News/alephant-logger/issues/comments/{number}","contents_url":"https://api.github.com/repos/BBC-News/alephant-logger/contents/{+path}","compare_url":"https://api.github.com/repos/BBC-News/alephant-logger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BBC-News/alephant-logger/merges","archive_url":"https://api.github.com/repos/BBC-News/alephant-logger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BBC-News/alephant-logger/downloads","issues_url":"https://api.github.com/repos/BBC-News/alephant-logger/issues{/number}","pulls_url":"https://api.github.com/repos/BBC-News/alephant-logger/pulls{/number}","milestones_url":"https://api.github.com/repos/BBC-News/alephant-logger/milestones{/number}","notifications_url":"https://api.github.com/repos/BBC-News/alephant-logger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BBC-News/alephant-logger/labels{/name}","releases_url":"https://api.github.com/repos/BBC-News/alephant-logger/releases{/id}","created_at":"2014-02-13T13:43:06Z","updated_at":"2014-12-11T08:00:59Z","pushed_at":"2015-01-26T17:53:22Z","git_url":"git://github.com/BBC-News/alephant-logger.git","ssh_url":"git@github.com:BBC-News/alephant-logger.git","clone_url":"https://github.com/BBC-News/alephant-logger.git","svn_url":"https://github.com/BBC-News/alephant-logger","homepage":"","size":412,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BBC-News/alephant-logger/pulls/6"},"html":{"href":"https://github.com/BBC-News/alephant-logger/pull/6"},"issue":{"href":"https://api.github.com/repos/BBC-News/alephant-logger/issues/6"},"comments":{"href":"https://api.github.com/repos/BBC-News/alephant-logger/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/BBC-News/alephant-logger/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/BBC-News/alephant-logger/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/BBC-News/alephant-logger/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/BBC-News/alephant-logger/statuses/03e6ccedc5cd8d27ef0663ad0099c5b6ec440217"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":100,"deletions":86,"changed_files":4}}