{"action":"created","comment":{"url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/pulls/comments/43121239","id":43121239,"diff_hunk":"@@ -49,6 +49,6 @@ And set this formatter as the new logging formatter:\n \n ```go\n log.Infof(\"Log messages are now sent to Graylog (udp://%s)\", graylogAddr) // Give a hint why logs are empty\n-log.AddHook(graylog.NewGraylogHook(graylogAddr, \"api\", map[string]interface{}{})) // set graylogAddr accordingly\n+log.Hooks.Add(graylog.NewGraylogHook(graylogAddr, \"api\", map[string]interface{}{})) // set graylogAddr accordingly","path":"README.md","position":29,"original_position":29,"commit_id":"c3e27ee6b68a37d95f165fd4c98c6ffe3f5ef3c9","original_commit_id":"2353dfba36bc124a9ff29da67eb2c3ee7ebf0a94","user":{"login":"gravis","id":12752,"avatar_url":"https://avatars.githubusercontent.com/u/12752?v=3","gravatar_id":"","url":"https://api.github.com/users/gravis","html_url":"https://github.com/gravis","followers_url":"https://api.github.com/users/gravis/followers","following_url":"https://api.github.com/users/gravis/following{/other_user}","gists_url":"https://api.github.com/users/gravis/gists{/gist_id}","starred_url":"https://api.github.com/users/gravis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravis/subscriptions","organizations_url":"https://api.github.com/users/gravis/orgs","repos_url":"https://api.github.com/users/gravis/repos","events_url":"https://api.github.com/users/gravis/events{/privacy}","received_events_url":"https://api.github.com/users/gravis/received_events","type":"User","site_admin":false},"body":"ok!","created_at":"2015-10-27T13:37:43Z","updated_at":"2015-10-27T13:37:43Z","html_url":"https://github.com/gemnasium/logrus-graylog-hook/pull/1#discussion_r43121239","pull_request_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/pulls/comments/43121239"},"html":{"href":"https://github.com/gemnasium/logrus-graylog-hook/pull/1#discussion_r43121239"},"pull_request":{"href":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/pulls/1","id":48858596,"html_url":"https://github.com/gemnasium/logrus-graylog-hook/pull/1","diff_url":"https://github.com/gemnasium/logrus-graylog-hook/pull/1.diff","patch_url":"https://github.com/gemnasium/logrus-graylog-hook/pull/1.patch","issue_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/issues/1","number":1,"state":"open","locked":false,"title":"update example in README according to tests","user":{"login":"Brasilikum","id":3106990,"avatar_url":"https://avatars.githubusercontent.com/u/3106990?v=3","gravatar_id":"","url":"https://api.github.com/users/Brasilikum","html_url":"https://github.com/Brasilikum","followers_url":"https://api.github.com/users/Brasilikum/followers","following_url":"https://api.github.com/users/Brasilikum/following{/other_user}","gists_url":"https://api.github.com/users/Brasilikum/gists{/gist_id}","starred_url":"https://api.github.com/users/Brasilikum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brasilikum/subscriptions","organizations_url":"https://api.github.com/users/Brasilikum/orgs","repos_url":"https://api.github.com/users/Brasilikum/repos","events_url":"https://api.github.com/users/Brasilikum/events{/privacy}","received_events_url":"https://api.github.com/users/Brasilikum/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-27T11:32:31Z","updated_at":"2015-10-27T13:37:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ba2caf833012ccb50dbd5d8e31de07f2a6950ad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/pulls/1/commits","review_comments_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/pulls/1/comments","review_comment_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/issues/1/comments","statuses_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/statuses/c3e27ee6b68a37d95f165fd4c98c6ffe3f5ef3c9","head":{"label":"Brasilikum:master","ref":"master","sha":"c3e27ee6b68a37d95f165fd4c98c6ffe3f5ef3c9","user":{"login":"Brasilikum","id":3106990,"avatar_url":"https://avatars.githubusercontent.com/u/3106990?v=3","gravatar_id":"","url":"https://api.github.com/users/Brasilikum","html_url":"https://github.com/Brasilikum","followers_url":"https://api.github.com/users/Brasilikum/followers","following_url":"https://api.github.com/users/Brasilikum/following{/other_user}","gists_url":"https://api.github.com/users/Brasilikum/gists{/gist_id}","starred_url":"https://api.github.com/users/Brasilikum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brasilikum/subscriptions","organizations_url":"https://api.github.com/users/Brasilikum/orgs","repos_url":"https://api.github.com/users/Brasilikum/repos","events_url":"https://api.github.com/users/Brasilikum/events{/privacy}","received_events_url":"https://api.github.com/users/Brasilikum/received_events","type":"User","site_admin":false},"repo":{"id":45035971,"name":"logrus-graylog-hook","full_name":"Brasilikum/logrus-graylog-hook","owner":{"login":"Brasilikum","id":3106990,"avatar_url":"https://avatars.githubusercontent.com/u/3106990?v=3","gravatar_id":"","url":"https://api.github.com/users/Brasilikum","html_url":"https://github.com/Brasilikum","followers_url":"https://api.github.com/users/Brasilikum/followers","following_url":"https://api.github.com/users/Brasilikum/following{/other_user}","gists_url":"https://api.github.com/users/Brasilikum/gists{/gist_id}","starred_url":"https://api.github.com/users/Brasilikum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brasilikum/subscriptions","organizations_url":"https://api.github.com/users/Brasilikum/orgs","repos_url":"https://api.github.com/users/Brasilikum/repos","events_url":"https://api.github.com/users/Brasilikum/events{/privacy}","received_events_url":"https://api.github.com/users/Brasilikum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Brasilikum/logrus-graylog-hook","description":"Graylog hook for logrus","fork":true,"url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook","forks_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/forks","keys_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/teams","hooks_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/hooks","issue_events_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/issues/events{/number}","events_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/events","assignees_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/assignees{/user}","branches_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/branches{/branch}","tags_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/tags","blobs_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/git/refs{/sha}","trees_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/statuses/{sha}","languages_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/languages","stargazers_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/stargazers","contributors_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/contributors","subscribers_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/subscribers","subscription_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/subscription","commits_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/commits{/sha}","git_commits_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/git/commits{/sha}","comments_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/comments{/number}","issue_comment_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/issues/comments{/number}","contents_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/contents/{+path}","compare_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/merges","archive_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/downloads","issues_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/issues{/number}","pulls_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/pulls{/number}","milestones_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/milestones{/number}","notifications_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/labels{/name}","releases_url":"https://api.github.com/repos/Brasilikum/logrus-graylog-hook/releases{/id}","created_at":"2015-10-27T11:20:54Z","updated_at":"2015-10-27T11:20:55Z","pushed_at":"2015-10-27T13:21:40Z","git_url":"git://github.com/Brasilikum/logrus-graylog-hook.git","ssh_url":"git@github.com:Brasilikum/logrus-graylog-hook.git","clone_url":"https://github.com/Brasilikum/logrus-graylog-hook.git","svn_url":"https://github.com/Brasilikum/logrus-graylog-hook","homepage":null,"size":85,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"gemnasium:master","ref":"master","sha":"d0908f09cbd169531e5cc158a8795ffa478e0e57","user":{"login":"gemnasium","id":3504117,"avatar_url":"https://avatars.githubusercontent.com/u/3504117?v=3","gravatar_id":"","url":"https://api.github.com/users/gemnasium","html_url":"https://github.com/gemnasium","followers_url":"https://api.github.com/users/gemnasium/followers","following_url":"https://api.github.com/users/gemnasium/following{/other_user}","gists_url":"https://api.github.com/users/gemnasium/gists{/gist_id}","starred_url":"https://api.github.com/users/gemnasium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemnasium/subscriptions","organizations_url":"https://api.github.com/users/gemnasium/orgs","repos_url":"https://api.github.com/users/gemnasium/repos","events_url":"https://api.github.com/users/gemnasium/events{/privacy}","received_events_url":"https://api.github.com/users/gemnasium/received_events","type":"Organization","site_admin":false},"repo":{"id":43758959,"name":"logrus-graylog-hook","full_name":"gemnasium/logrus-graylog-hook","owner":{"login":"gemnasium","id":3504117,"avatar_url":"https://avatars.githubusercontent.com/u/3504117?v=3","gravatar_id":"","url":"https://api.github.com/users/gemnasium","html_url":"https://github.com/gemnasium","followers_url":"https://api.github.com/users/gemnasium/followers","following_url":"https://api.github.com/users/gemnasium/following{/other_user}","gists_url":"https://api.github.com/users/gemnasium/gists{/gist_id}","starred_url":"https://api.github.com/users/gemnasium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemnasium/subscriptions","organizations_url":"https://api.github.com/users/gemnasium/orgs","repos_url":"https://api.github.com/users/gemnasium/repos","events_url":"https://api.github.com/users/gemnasium/events{/privacy}","received_events_url":"https://api.github.com/users/gemnasium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gemnasium/logrus-graylog-hook","description":"Graylog hook for logrus","fork":false,"url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook","forks_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/forks","keys_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/teams","hooks_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/hooks","issue_events_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/issues/events{/number}","events_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/events","assignees_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/assignees{/user}","branches_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/branches{/branch}","tags_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/tags","blobs_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/git/refs{/sha}","trees_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/statuses/{sha}","languages_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/languages","stargazers_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/stargazers","contributors_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/contributors","subscribers_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/subscribers","subscription_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/subscription","commits_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/commits{/sha}","git_commits_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/git/commits{/sha}","comments_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/comments{/number}","issue_comment_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/issues/comments{/number}","contents_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/contents/{+path}","compare_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/merges","archive_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/downloads","issues_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/issues{/number}","pulls_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/pulls{/number}","milestones_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/milestones{/number}","notifications_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/labels{/name}","releases_url":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/releases{/id}","created_at":"2015-10-06T15:17:34Z","updated_at":"2015-10-06T15:24:33Z","pushed_at":"2015-10-27T13:21:40Z","git_url":"git://github.com/gemnasium/logrus-graylog-hook.git","ssh_url":"git@github.com:gemnasium/logrus-graylog-hook.git","clone_url":"https://github.com/gemnasium/logrus-graylog-hook.git","svn_url":"https://github.com/gemnasium/logrus-graylog-hook","homepage":null,"size":177,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/pulls/1"},"html":{"href":"https://github.com/gemnasium/logrus-graylog-hook/pull/1"},"issue":{"href":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/issues/1"},"comments":{"href":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/gemnasium/logrus-graylog-hook/statuses/c3e27ee6b68a37d95f165fd4c98c6ffe3f5ef3c9"}}}}