{"action":"closed","issue":{"url":"https://api.github.com/repos/AriaMinaei/pretty-error/issues/20","labels_url":"https://api.github.com/repos/AriaMinaei/pretty-error/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/AriaMinaei/pretty-error/issues/20/comments","events_url":"https://api.github.com/repos/AriaMinaei/pretty-error/issues/20/events","html_url":"https://github.com/AriaMinaei/pretty-error/issues/20","id":100165036,"number":20,"title":"Add a way to disable colors","user":{"login":"Kikobeats","id":2096101,"avatar_url":"https://avatars.githubusercontent.com/u/2096101?v=3","gravatar_id":"","url":"https://api.github.com/users/Kikobeats","html_url":"https://github.com/Kikobeats","followers_url":"https://api.github.com/users/Kikobeats/followers","following_url":"https://api.github.com/users/Kikobeats/following{/other_user}","gists_url":"https://api.github.com/users/Kikobeats/gists{/gist_id}","starred_url":"https://api.github.com/users/Kikobeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kikobeats/subscriptions","organizations_url":"https://api.github.com/users/Kikobeats/orgs","repos_url":"https://api.github.com/users/Kikobeats/repos","events_url":"https://api.github.com/users/Kikobeats/events{/privacy}","received_events_url":"https://api.github.com/users/Kikobeats/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-10T20:46:19Z","updated_at":"2015-08-15T18:32:13Z","closed_at":"2015-08-15T18:32:13Z","body":"Under production, you normally store your logs into files. if the output is colored then the result is a unreadable output line with ansi codes inside.\r\n\r\nCould be great disable colors automatically using the env variable `process.env.NODE_END === 'production'` or add a param like `{colors: true}` in the `.render` and `.start` method or in the constructor.\r\n\r\nAlso related with #16."}}