{"action":"opened","number":40,"pull_request":{"url":"https://api.github.com/repos/newrelic/go-agent/pulls/40","id":116880468,"html_url":"https://github.com/newrelic/go-agent/pull/40","diff_url":"https://github.com/newrelic/go-agent/pull/40.diff","patch_url":"https://github.com/newrelic/go-agent/pull/40.patch","issue_url":"https://api.github.com/repos/newrelic/go-agent/issues/40","number":40,"state":"open","locked":false,"title":"Add logger integration for inconshreveable/log15","user":{"login":"jescochu","id":17504829,"avatar_url":"https://avatars0.githubusercontent.com/u/17504829?v=3","gravatar_id":"","url":"https://api.github.com/users/jescochu","html_url":"https://github.com/jescochu","followers_url":"https://api.github.com/users/jescochu/followers","following_url":"https://api.github.com/users/jescochu/following{/other_user}","gists_url":"https://api.github.com/users/jescochu/gists{/gist_id}","starred_url":"https://api.github.com/users/jescochu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jescochu/subscriptions","organizations_url":"https://api.github.com/users/jescochu/orgs","repos_url":"https://api.github.com/users/jescochu/repos","events_url":"https://api.github.com/users/jescochu/events{/privacy}","received_events_url":"https://api.github.com/users/jescochu/received_events","type":"User","site_admin":false},"body":"This is an integration for a new logger we are trying out at https://github.com/inconshreveable/log15.\r\n\r\nIt is fairly straightforward except that unfortunately the lib exposes no easy way to get a debug bit (and debug is the default log level). To cope with this, there are two helper methods that offer varying levels of control of the actual logger, but both require a bool that tells whether or not we are in \"debug mode\" to satisfy the newrelic.Logger interface.","created_at":"2017-04-20T22:50:15Z","updated_at":"2017-04-20T22:50:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/newrelic/go-agent/pulls/40/commits","review_comments_url":"https://api.github.com/repos/newrelic/go-agent/pulls/40/comments","review_comment_url":"https://api.github.com/repos/newrelic/go-agent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/newrelic/go-agent/issues/40/comments","statuses_url":"https://api.github.com/repos/newrelic/go-agent/statuses/48f0ff798c0513bd2d44150b30c3cad3f7d66988","head":{"label":"jescochu:log15_integration","ref":"log15_integration","sha":"48f0ff798c0513bd2d44150b30c3cad3f7d66988","user":{"login":"jescochu","id":17504829,"avatar_url":"https://avatars0.githubusercontent.com/u/17504829?v=3","gravatar_id":"","url":"https://api.github.com/users/jescochu","html_url":"https://github.com/jescochu","followers_url":"https://api.github.com/users/jescochu/followers","following_url":"https://api.github.com/users/jescochu/following{/other_user}","gists_url":"https://api.github.com/users/jescochu/gists{/gist_id}","starred_url":"https://api.github.com/users/jescochu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jescochu/subscriptions","organizations_url":"https://api.github.com/users/jescochu/orgs","repos_url":"https://api.github.com/users/jescochu/repos","events_url":"https://api.github.com/users/jescochu/events{/privacy}","received_events_url":"https://api.github.com/users/jescochu/received_events","type":"User","site_admin":false},"repo":{"id":88916722,"name":"go-agent","full_name":"jescochu/go-agent","owner":{"login":"jescochu","id":17504829,"avatar_url":"https://avatars0.githubusercontent.com/u/17504829?v=3","gravatar_id":"","url":"https://api.github.com/users/jescochu","html_url":"https://github.com/jescochu","followers_url":"https://api.github.com/users/jescochu/followers","following_url":"https://api.github.com/users/jescochu/following{/other_user}","gists_url":"https://api.github.com/users/jescochu/gists{/gist_id}","starred_url":"https://api.github.com/users/jescochu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jescochu/subscriptions","organizations_url":"https://api.github.com/users/jescochu/orgs","repos_url":"https://api.github.com/users/jescochu/repos","events_url":"https://api.github.com/users/jescochu/events{/privacy}","received_events_url":"https://api.github.com/users/jescochu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jescochu/go-agent","description":"New Relic Go Agent","fork":true,"url":"https://api.github.com/repos/jescochu/go-agent","forks_url":"https://api.github.com/repos/jescochu/go-agent/forks","keys_url":"https://api.github.com/repos/jescochu/go-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jescochu/go-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jescochu/go-agent/teams","hooks_url":"https://api.github.com/repos/jescochu/go-agent/hooks","issue_events_url":"https://api.github.com/repos/jescochu/go-agent/issues/events{/number}","events_url":"https://api.github.com/repos/jescochu/go-agent/events","assignees_url":"https://api.github.com/repos/jescochu/go-agent/assignees{/user}","branches_url":"https://api.github.com/repos/jescochu/go-agent/branches{/branch}","tags_url":"https://api.github.com/repos/jescochu/go-agent/tags","blobs_url":"https://api.github.com/repos/jescochu/go-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jescochu/go-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jescochu/go-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/jescochu/go-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jescochu/go-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/jescochu/go-agent/languages","stargazers_url":"https://api.github.com/repos/jescochu/go-agent/stargazers","contributors_url":"https://api.github.com/repos/jescochu/go-agent/contributors","subscribers_url":"https://api.github.com/repos/jescochu/go-agent/subscribers","subscription_url":"https://api.github.com/repos/jescochu/go-agent/subscription","commits_url":"https://api.github.com/repos/jescochu/go-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/jescochu/go-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/jescochu/go-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/jescochu/go-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/jescochu/go-agent/contents/{+path}","compare_url":"https://api.github.com/repos/jescochu/go-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jescochu/go-agent/merges","archive_url":"https://api.github.com/repos/jescochu/go-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jescochu/go-agent/downloads","issues_url":"https://api.github.com/repos/jescochu/go-agent/issues{/number}","pulls_url":"https://api.github.com/repos/jescochu/go-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/jescochu/go-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/jescochu/go-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jescochu/go-agent/labels{/name}","releases_url":"https://api.github.com/repos/jescochu/go-agent/releases{/id}","deployments_url":"https://api.github.com/repos/jescochu/go-agent/deployments","created_at":"2017-04-20T22:43:41Z","updated_at":"2017-04-20T22:43:43Z","pushed_at":"2017-04-20T22:47:30Z","git_url":"git://github.com/jescochu/go-agent.git","ssh_url":"git@github.com:jescochu/go-agent.git","clone_url":"https://github.com/jescochu/go-agent.git","svn_url":"https://github.com/jescochu/go-agent","homepage":"","size":559,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"newrelic:master","ref":"master","sha":"29ec3cd1bb2f21d21d36da37dae52695cb2c3a17","user":{"login":"newrelic","id":31739,"avatar_url":"https://avatars3.githubusercontent.com/u/31739?v=3","gravatar_id":"","url":"https://api.github.com/users/newrelic","html_url":"https://github.com/newrelic","followers_url":"https://api.github.com/users/newrelic/followers","following_url":"https://api.github.com/users/newrelic/following{/other_user}","gists_url":"https://api.github.com/users/newrelic/gists{/gist_id}","starred_url":"https://api.github.com/users/newrelic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newrelic/subscriptions","organizations_url":"https://api.github.com/users/newrelic/orgs","repos_url":"https://api.github.com/users/newrelic/repos","events_url":"https://api.github.com/users/newrelic/events{/privacy}","received_events_url":"https://api.github.com/users/newrelic/received_events","type":"Organization","site_admin":false},"repo":{"id":62247948,"name":"go-agent","full_name":"newrelic/go-agent","owner":{"login":"newrelic","id":31739,"avatar_url":"https://avatars3.githubusercontent.com/u/31739?v=3","gravatar_id":"","url":"https://api.github.com/users/newrelic","html_url":"https://github.com/newrelic","followers_url":"https://api.github.com/users/newrelic/followers","following_url":"https://api.github.com/users/newrelic/following{/other_user}","gists_url":"https://api.github.com/users/newrelic/gists{/gist_id}","starred_url":"https://api.github.com/users/newrelic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newrelic/subscriptions","organizations_url":"https://api.github.com/users/newrelic/orgs","repos_url":"https://api.github.com/users/newrelic/repos","events_url":"https://api.github.com/users/newrelic/events{/privacy}","received_events_url":"https://api.github.com/users/newrelic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/newrelic/go-agent","description":"New Relic Go Agent","fork":false,"url":"https://api.github.com/repos/newrelic/go-agent","forks_url":"https://api.github.com/repos/newrelic/go-agent/forks","keys_url":"https://api.github.com/repos/newrelic/go-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/newrelic/go-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/newrelic/go-agent/teams","hooks_url":"https://api.github.com/repos/newrelic/go-agent/hooks","issue_events_url":"https://api.github.com/repos/newrelic/go-agent/issues/events{/number}","events_url":"https://api.github.com/repos/newrelic/go-agent/events","assignees_url":"https://api.github.com/repos/newrelic/go-agent/assignees{/user}","branches_url":"https://api.github.com/repos/newrelic/go-agent/branches{/branch}","tags_url":"https://api.github.com/repos/newrelic/go-agent/tags","blobs_url":"https://api.github.com/repos/newrelic/go-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/newrelic/go-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/newrelic/go-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/newrelic/go-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/newrelic/go-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/newrelic/go-agent/languages","stargazers_url":"https://api.github.com/repos/newrelic/go-agent/stargazers","contributors_url":"https://api.github.com/repos/newrelic/go-agent/contributors","subscribers_url":"https://api.github.com/repos/newrelic/go-agent/subscribers","subscription_url":"https://api.github.com/repos/newrelic/go-agent/subscription","commits_url":"https://api.github.com/repos/newrelic/go-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/newrelic/go-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/newrelic/go-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/newrelic/go-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/newrelic/go-agent/contents/{+path}","compare_url":"https://api.github.com/repos/newrelic/go-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/newrelic/go-agent/merges","archive_url":"https://api.github.com/repos/newrelic/go-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/newrelic/go-agent/downloads","issues_url":"https://api.github.com/repos/newrelic/go-agent/issues{/number}","pulls_url":"https://api.github.com/repos/newrelic/go-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/newrelic/go-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/newrelic/go-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/newrelic/go-agent/labels{/name}","releases_url":"https://api.github.com/repos/newrelic/go-agent/releases{/id}","deployments_url":"https://api.github.com/repos/newrelic/go-agent/deployments","created_at":"2016-06-29T18:19:10Z","updated_at":"2017-04-19T08:08:36Z","pushed_at":"2017-04-18T17:20:22Z","git_url":"git://github.com/newrelic/go-agent.git","ssh_url":"git@github.com:newrelic/go-agent.git","clone_url":"https://github.com/newrelic/go-agent.git","svn_url":"https://github.com/newrelic/go-agent","homepage":"","size":559,"stargazers_count":193,"watchers_count":193,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":10,"forks":33,"open_issues":10,"watchers":193,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/newrelic/go-agent/pulls/40"},"html":{"href":"https://github.com/newrelic/go-agent/pull/40"},"issue":{"href":"https://api.github.com/repos/newrelic/go-agent/issues/40"},"comments":{"href":"https://api.github.com/repos/newrelic/go-agent/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/newrelic/go-agent/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/newrelic/go-agent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/newrelic/go-agent/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/newrelic/go-agent/statuses/48f0ff798c0513bd2d44150b30c3cad3f7d66988"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":59,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"jescochu"}}