{"comment":{"url":"https://api.github.com/repos/gilt/gfc-util/comments/10693606","html_url":"https://github.com/gilt/gfc-util/commit/cf0a5c9f26a53f3eb8d3451f884f106f822f3d5b#commitcomment-10693606","id":10693606,"user":{"login":"andreyk0","id":393902,"avatar_url":"https://avatars.githubusercontent.com/u/393902?v=3","gravatar_id":"","url":"https://api.github.com/users/andreyk0","html_url":"https://github.com/andreyk0","followers_url":"https://api.github.com/users/andreyk0/followers","following_url":"https://api.github.com/users/andreyk0/following{/other_user}","gists_url":"https://api.github.com/users/andreyk0/gists{/gist_id}","starred_url":"https://api.github.com/users/andreyk0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreyk0/subscriptions","organizations_url":"https://api.github.com/users/andreyk0/orgs","repos_url":"https://api.github.com/users/andreyk0/repos","events_url":"https://api.github.com/users/andreyk0/events{/privacy}","received_events_url":"https://api.github.com/users/andreyk0/received_events","type":"User","site_admin":false},"position":62,"line":62,"path":"src/main/scala/com/gilt/gfc/util/Retry.scala","commit_id":"cf0a5c9f26a53f3eb8d3451f884f106f822f3d5b","created_at":"2015-04-13T14:35:46Z","updated_at":"2015-04-13T14:35:46Z","body":"It'd be nice to be able to integrate this with logging somehow.\r\nE.g. if you are using this in the app init code, it may seem that an app just hangs for a while. Typically you'd look at the logs and there'd be nothing there, so you'd need to check stack trace to see what's going on.\r\n\r\nIf you don't want to add a dependency on a particular logging framework - maybe we could have a callback function that defaults to printing to stderr or something.\r\n"}}