{"action":"opened","issue":{"url":"https://api.github.com/repos/rudionrails/yell/issues/39","labels_url":"https://api.github.com/repos/rudionrails/yell/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/rudionrails/yell/issues/39/comments","events_url":"https://api.github.com/repos/rudionrails/yell/issues/39/events","html_url":"https://github.com/rudionrails/yell/issues/39","id":54112202,"number":39,"title":"Q: log to string?","user":{"login":"jrochkind","id":149304,"avatar_url":"https://avatars.githubusercontent.com/u/149304?v=3","gravatar_id":"","url":"https://api.github.com/users/jrochkind","html_url":"https://github.com/jrochkind","followers_url":"https://api.github.com/users/jrochkind/followers","following_url":"https://api.github.com/users/jrochkind/following{/other_user}","gists_url":"https://api.github.com/users/jrochkind/gists{/gist_id}","starred_url":"https://api.github.com/users/jrochkind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrochkind/subscriptions","organizations_url":"https://api.github.com/users/jrochkind/orgs","repos_url":"https://api.github.com/users/jrochkind/repos","events_url":"https://api.github.com/users/jrochkind/events{/privacy}","received_events_url":"https://api.github.com/users/jrochkind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-12T21:53:36Z","updated_at":"2015-01-12T21:53:36Z","closed_at":null,"body":"For testing purposes, it would be convenient if I could temporarily set something to use a logger that simply writes to a String or StringIO object, so I can check what was logged in my tests. Instead of to a file. Or to the standard stdout/stderr. \r\n\r\nIs this possible with Yell, can I create a logger that writes to a StringIO or String instead of to a file?"}}