{"action":"created","issue":{"url":"https://api.github.com/repos/sirupsen/logrus/issues/862","repository_url":"https://api.github.com/repos/sirupsen/logrus","labels_url":"https://api.github.com/repos/sirupsen/logrus/issues/862/labels{/name}","comments_url":"https://api.github.com/repos/sirupsen/logrus/issues/862/comments","events_url":"https://api.github.com/repos/sirupsen/logrus/issues/862/events","html_url":"https://github.com/sirupsen/logrus/issues/862","id":381186680,"node_id":"MDU6SXNzdWUzODExODY2ODA=","number":862,"title":"Colorized output on windows 7 broken","user":{"login":"ceriath","id":5528304,"node_id":"MDQ6VXNlcjU1MjgzMDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5528304?v=4","gravatar_id":"","url":"https://api.github.com/users/ceriath","html_url":"https://github.com/ceriath","followers_url":"https://api.github.com/users/ceriath/followers","following_url":"https://api.github.com/users/ceriath/following{/other_user}","gists_url":"https://api.github.com/users/ceriath/gists{/gist_id}","starred_url":"https://api.github.com/users/ceriath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceriath/subscriptions","organizations_url":"https://api.github.com/users/ceriath/orgs","repos_url":"https://api.github.com/users/ceriath/repos","events_url":"https://api.github.com/users/ceriath/events{/privacy}","received_events_url":"https://api.github.com/users/ceriath/received_events","type":"User","site_admin":false},"labels":[{"id":61224100,"node_id":"MDU6TGFiZWw2MTIyNDEwMA==","url":"https://api.github.com/repos/sirupsen/logrus/labels/bug","name":"bug","color":"fc2929","default":true},{"id":359049251,"node_id":"MDU6TGFiZWwzNTkwNDkyNTE=","url":"https://api.github.com/repos/sirupsen/logrus/labels/help-wanted","name":"help-wanted","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-15T14:31:46Z","updated_at":"2018-11-22T06:03:07Z","closed_at":null,"author_association":"NONE","body":"When printing output with a TextFormatter to cmd or powershell on windows 7, the control sequences are rendered to the output.\r\n\r\n``←[36mINFO←[0m[0000] Replay took: 4.0003ms                         ←[36msource←[0m=Badger``\r\n\r\nThis was already mentioned in #820 but probably never investigated.\r\n\r\nWorkaround: Just disable colors with \r\n\r\n```\r\nlog.SetFormatter(&logrus.TextFormatter{\r\n\t\tDisableColors: true,\r\n})\r\n```"},"comment":{"url":"https://api.github.com/repos/sirupsen/logrus/issues/comments/440922278","html_url":"https://github.com/sirupsen/logrus/issues/862#issuecomment-440922278","issue_url":"https://api.github.com/repos/sirupsen/logrus/issues/862","id":440922278,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDkyMjI3OA==","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-11-22T06:03:07Z","updated_at":"2018-11-22T06:03:07Z","author_association":"COLLABORATOR","body":"@ceriath is there a way to detect if coloring is activated or not ?"}}
{"actor":{"display_login":"dgsb"}}