{"action":"created","issue":{"url":"https://api.github.com/repos/php-http/logger-plugin/issues/6","repository_url":"https://api.github.com/repos/php-http/logger-plugin","labels_url":"https://api.github.com/repos/php-http/logger-plugin/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/php-http/logger-plugin/issues/6/comments","events_url":"https://api.github.com/repos/php-http/logger-plugin/issues/6/events","html_url":"https://github.com/php-http/logger-plugin/issues/6","id":326920587,"number":6,"title":"Ability to affect the logger context","user":{"login":"pascalwoerde","id":5604592,"avatar_url":"https://avatars3.githubusercontent.com/u/5604592?v=4","gravatar_id":"","url":"https://api.github.com/users/pascalwoerde","html_url":"https://github.com/pascalwoerde","followers_url":"https://api.github.com/users/pascalwoerde/followers","following_url":"https://api.github.com/users/pascalwoerde/following{/other_user}","gists_url":"https://api.github.com/users/pascalwoerde/gists{/gist_id}","starred_url":"https://api.github.com/users/pascalwoerde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascalwoerde/subscriptions","organizations_url":"https://api.github.com/users/pascalwoerde/orgs","repos_url":"https://api.github.com/users/pascalwoerde/repos","events_url":"https://api.github.com/users/pascalwoerde/events{/privacy}","received_events_url":"https://api.github.com/users/pascalwoerde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-28T07:10:23Z","updated_at":"2018-05-28T08:01:27Z","closed_at":null,"author_association":"NONE","body":"| Q            | A\r\n| ------------ | ---\r\n| Bug?         | no\r\n| New Feature? | yes\r\n\r\n\r\nThe PSR logger interface specifies a context to provide extra information for the message. Since the current implementation is bounded to a predefined context it is not possible to affect this. We could use a message factory or something to generate messages in a custom way as solution. "},"comment":{"url":"https://api.github.com/repos/php-http/logger-plugin/issues/comments/392451399","html_url":"https://github.com/php-http/logger-plugin/issues/6#issuecomment-392451399","issue_url":"https://api.github.com/repos/php-http/logger-plugin/issues/6","id":392451399,"user":{"login":"dbu","id":76576,"avatar_url":"https://avatars3.githubusercontent.com/u/76576?v=4","gravatar_id":"","url":"https://api.github.com/users/dbu","html_url":"https://github.com/dbu","followers_url":"https://api.github.com/users/dbu/followers","following_url":"https://api.github.com/users/dbu/following{/other_user}","gists_url":"https://api.github.com/users/dbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbu/subscriptions","organizations_url":"https://api.github.com/users/dbu/orgs","repos_url":"https://api.github.com/users/dbu/repos","events_url":"https://api.github.com/users/dbu/events{/privacy}","received_events_url":"https://api.github.com/users/dbu/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T08:01:27Z","updated_at":"2018-05-28T08:01:27Z","author_association":"CONTRIBUTOR","body":"don't we log the whole request and response with all headers in the context?"}}
{"actor":{"display_login":"dbu"}}