{"action":"created","issue":{"url":"https://api.github.com/repos/heatseeknyc/heatseeknyc/issues/31","labels_url":"https://api.github.com/repos/heatseeknyc/heatseeknyc/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/heatseeknyc/heatseeknyc/issues/31/comments","events_url":"https://api.github.com/repos/heatseeknyc/heatseeknyc/issues/31/events","html_url":"https://github.com/heatseeknyc/heatseeknyc/issues/31","id":116803583,"number":31,"title":"create a logger for quality control","user":{"login":"williamcodes","id":4542879,"avatar_url":"https://avatars.githubusercontent.com/u/4542879?v=3","gravatar_id":"","url":"https://api.github.com/users/williamcodes","html_url":"https://github.com/williamcodes","followers_url":"https://api.github.com/users/williamcodes/followers","following_url":"https://api.github.com/users/williamcodes/following{/other_user}","gists_url":"https://api.github.com/users/williamcodes/gists{/gist_id}","starred_url":"https://api.github.com/users/williamcodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamcodes/subscriptions","organizations_url":"https://api.github.com/users/williamcodes/orgs","repos_url":"https://api.github.com/users/williamcodes/repos","events_url":"https://api.github.com/users/williamcodes/events{/privacy}","received_events_url":"https://api.github.com/users/williamcodes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/heatseeknyc/heatseeknyc/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-13T16:37:18Z","updated_at":"2015-12-22T17:49:28Z","closed_at":null,"body":"Currently the QualityControl class uses `puts` to do logging. Upgrade this to a proper logger so you can get feedback while using the tool but it doesn't show up when running the test suite."},"comment":{"url":"https://api.github.com/repos/heatseeknyc/heatseeknyc/issues/comments/166688897","html_url":"https://github.com/heatseeknyc/heatseeknyc/issues/31#issuecomment-166688897","issue_url":"https://api.github.com/repos/heatseeknyc/heatseeknyc/issues/31","id":166688897,"user":{"login":"oliverbarnes","id":21290,"avatar_url":"https://avatars.githubusercontent.com/u/21290?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverbarnes","html_url":"https://github.com/oliverbarnes","followers_url":"https://api.github.com/users/oliverbarnes/followers","following_url":"https://api.github.com/users/oliverbarnes/following{/other_user}","gists_url":"https://api.github.com/users/oliverbarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverbarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverbarnes/subscriptions","organizations_url":"https://api.github.com/users/oliverbarnes/orgs","repos_url":"https://api.github.com/users/oliverbarnes/repos","events_url":"https://api.github.com/users/oliverbarnes/events{/privacy}","received_events_url":"https://api.github.com/users/oliverbarnes/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T17:49:28Z","updated_at":"2015-12-22T17:49:28Z","body":"sure, you could have a `debug` option and a conditional checking for it. Or you could just have a check for `Rails.env.test?`.\r\n\r\nI'm not familiar with the purpose of the `QualityControl` class (the tests don't seem have much info about it), so I wouldn't know if having a historical log to be checked afterwards would be useful. \r\n"}}