{"action":"created","issue":{"url":"https://api.github.com/repos/sirupsen/logrus/issues/781","repository_url":"https://api.github.com/repos/sirupsen/logrus","labels_url":"https://api.github.com/repos/sirupsen/logrus/issues/781/labels{/name}","comments_url":"https://api.github.com/repos/sirupsen/logrus/issues/781/comments","events_url":"https://api.github.com/repos/sirupsen/logrus/issues/781/events","html_url":"https://github.com/sirupsen/logrus/pull/781","id":337040242,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MzQ5NDkx","number":781,"title":"Override time in log entries","user":{"login":"sbrisson2","id":40610130,"node_id":"MDQ6VXNlcjQwNjEwMTMw","avatar_url":"https://avatars1.githubusercontent.com/u/40610130?v=4","gravatar_id":"","url":"https://api.github.com/users/sbrisson2","html_url":"https://github.com/sbrisson2","followers_url":"https://api.github.com/users/sbrisson2/followers","following_url":"https://api.github.com/users/sbrisson2/following{/other_user}","gists_url":"https://api.github.com/users/sbrisson2/gists{/gist_id}","starred_url":"https://api.github.com/users/sbrisson2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbrisson2/subscriptions","organizations_url":"https://api.github.com/users/sbrisson2/orgs","repos_url":"https://api.github.com/users/sbrisson2/repos","events_url":"https://api.github.com/users/sbrisson2/events{/privacy}","received_events_url":"https://api.github.com/users/sbrisson2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-29T15:22:13Z","updated_at":"2018-06-29T18:21:06Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/sirupsen/logrus/pulls/781","html_url":"https://github.com/sirupsen/logrus/pull/781","diff_url":"https://github.com/sirupsen/logrus/pull/781.diff","patch_url":"https://github.com/sirupsen/logrus/pull/781.patch"},"body":"This PR allows users to have control over the timestamps in their logs.  It solves #778.\r\n\r\nThe first commit prevents `Entry.log()` from using `time.Now()` if the entry already has a non-zero `Time` value.\r\n\r\nThe second commit adds `WithTime()` methods to the `FieldLogger` , `Entry`, and `Logger` types."},"comment":{"url":"https://api.github.com/repos/sirupsen/logrus/issues/comments/401434750","html_url":"https://github.com/sirupsen/logrus/pull/781#issuecomment-401434750","issue_url":"https://api.github.com/repos/sirupsen/logrus/issues/781","id":401434750,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTQzNDc1MA==","user":{"login":"dgsb","id":5495748,"node_id":"MDQ6VXNlcjU0OTU3NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/5495748?v=4","gravatar_id":"","url":"https://api.github.com/users/dgsb","html_url":"https://github.com/dgsb","followers_url":"https://api.github.com/users/dgsb/followers","following_url":"https://api.github.com/users/dgsb/following{/other_user}","gists_url":"https://api.github.com/users/dgsb/gists{/gist_id}","starred_url":"https://api.github.com/users/dgsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgsb/subscriptions","organizations_url":"https://api.github.com/users/dgsb/orgs","repos_url":"https://api.github.com/users/dgsb/repos","events_url":"https://api.github.com/users/dgsb/events{/privacy}","received_events_url":"https://api.github.com/users/dgsb/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T18:21:06Z","updated_at":"2018-06-29T18:21:06Z","author_association":"COLLABORATOR","body":"We can not do that, because a same entry can be used to several times. With this patch we are going to end up have all these logs with the same timestamp."}}
{"actor":{"display_login":"dgsb"}}