{"action":"created","issue":{"url":"https://api.github.com/repos/go-log/log/issues/7","repository_url":"https://api.github.com/repos/go-log/log","labels_url":"https://api.github.com/repos/go-log/log/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/go-log/log/issues/7/comments","events_url":"https://api.github.com/repos/go-log/log/issues/7/events","html_url":"https://github.com/go-log/log/pull/7","id":342459645,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMzU0OTAz","number":7,"title":"info: Add a generic wrapper for objects which supply Info and Infof","user":{"login":"wking","id":209920,"node_id":"MDQ6VXNlcjIwOTkyMA==","avatar_url":"https://avatars1.githubusercontent.com/u/209920?v=4","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-18T19:24:47Z","updated_at":"2018-07-19T15:57:43Z","closed_at":"2018-07-19T15:55:34Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/go-log/log/pulls/7","html_url":"https://github.com/go-log/log/pull/7","diff_url":"https://github.com/go-log/log/pull/7.diff","patch_url":"https://github.com/go-log/log/pull/7.patch"},"body":"I want this so I can use a `log.Logger` library in a [glog][1] application, with an initialization like:\n\n```go\nimport (\n  \"github.com/go-log/log/info\"\n  \"github.com/golang/glog\"\n  \"github.com/lib/foo\"\n)\n\nlogger := info.New(glog.V(2))\nf := foo.New(logger)\n```\n\nThe approach I'm taking is very similar to #6, but with `Info` and `Infof` instead of #6's `Print` and `Printf`.\n\n[1]: https://godoc.org/github.com/golang/glog"},"comment":{"url":"https://api.github.com/repos/go-log/log/issues/comments/406327382","html_url":"https://github.com/go-log/log/pull/7#issuecomment-406327382","issue_url":"https://api.github.com/repos/go-log/log/issues/7","id":406327382,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjMyNzM4Mg==","user":{"login":"wking","id":209920,"node_id":"MDQ6VXNlcjIwOTkyMA==","avatar_url":"https://avatars1.githubusercontent.com/u/209920?v=4","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"created_at":"2018-07-19T15:57:43Z","updated_at":"2018-07-19T15:57:43Z","author_association":"CONTRIBUTOR","body":"Thanks :)"}}
{"actor":{"display_login":"wking"}}