{"action":"created","issue":{"url":"https://api.github.com/repos/jamesramsay/hercule/issues/114","labels_url":"https://api.github.com/repos/jamesramsay/hercule/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/jamesramsay/hercule/issues/114/comments","events_url":"https://api.github.com/repos/jamesramsay/hercule/issues/114/events","html_url":"https://github.com/jamesramsay/hercule/pull/114","id":122141142,"number":114,"title":"Support a custom logger for errors","user":{"login":"dgileadi","id":352830,"avatar_url":"https://avatars.githubusercontent.com/u/352830?v=3","gravatar_id":"","url":"https://api.github.com/users/dgileadi","html_url":"https://github.com/dgileadi","followers_url":"https://api.github.com/users/dgileadi/followers","following_url":"https://api.github.com/users/dgileadi/following{/other_user}","gists_url":"https://api.github.com/users/dgileadi/gists{/gist_id}","starred_url":"https://api.github.com/users/dgileadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgileadi/subscriptions","organizations_url":"https://api.github.com/users/dgileadi/orgs","repos_url":"https://api.github.com/users/dgileadi/repos","events_url":"https://api.github.com/users/dgileadi/events{/privacy}","received_events_url":"https://api.github.com/users/dgileadi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-14T21:59:54Z","updated_at":"2015-12-16T15:31:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jamesramsay/hercule/pulls/114","html_url":"https://github.com/jamesramsay/hercule/pull/114","diff_url":"https://github.com/jamesramsay/hercule/pull/114.diff","patch_url":"https://github.com/jamesramsay/hercule/pull/114.patch"},"body":"The current code offers the ability to provide a custom logger for debug messages, but offers no customization for error logging (which can happen due to file-not-found errors or HTTP errors). This pull request adds support for making the logger argument be an object with `debug` and `error` functions. If no logger argument is provided or if the logger argument is a function then the current behavior is used."},"comment":{"url":"https://api.github.com/repos/jamesramsay/hercule/issues/comments/165143758","html_url":"https://github.com/jamesramsay/hercule/pull/114#issuecomment-165143758","issue_url":"https://api.github.com/repos/jamesramsay/hercule/issues/114","id":165143758,"user":{"login":"dgileadi","id":352830,"avatar_url":"https://avatars.githubusercontent.com/u/352830?v=3","gravatar_id":"","url":"https://api.github.com/users/dgileadi","html_url":"https://github.com/dgileadi","followers_url":"https://api.github.com/users/dgileadi/followers","following_url":"https://api.github.com/users/dgileadi/following{/other_user}","gists_url":"https://api.github.com/users/dgileadi/gists{/gist_id}","starred_url":"https://api.github.com/users/dgileadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgileadi/subscriptions","organizations_url":"https://api.github.com/users/dgileadi/orgs","repos_url":"https://api.github.com/users/dgileadi/repos","events_url":"https://api.github.com/users/dgileadi/events{/privacy}","received_events_url":"https://api.github.com/users/dgileadi/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T15:31:22Z","updated_at":"2015-12-16T15:31:22Z","body":"Is there anything you'd like me to change on this? I'm not sure what the story is with the coverage..."}}