{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/6372","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/6372/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/6372/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/6372/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/6372","id":177789846,"number":6372,"title":"Replace Log With Timber To Reduce Log Noise","user":{"login":"bleege","id":989928,"avatar_url":"https://avatars.githubusercontent.com/u/989928?v=3","gravatar_id":"","url":"https://api.github.com/users/bleege","html_url":"https://github.com/bleege","followers_url":"https://api.github.com/users/bleege/followers","following_url":"https://api.github.com/users/bleege/following{/other_user}","gists_url":"https://api.github.com/users/bleege/gists{/gist_id}","starred_url":"https://api.github.com/users/bleege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleege/subscriptions","organizations_url":"https://api.github.com/users/bleege/orgs","repos_url":"https://api.github.com/users/bleege/repos","events_url":"https://api.github.com/users/bleege/events{/privacy}","received_events_url":"https://api.github.com/users/bleege/received_events","type":"User","site_admin":false},"labels":[{"id":143173729,"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"000000","default":false},{"id":463550126,"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/starter-task","name":"starter-task","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-19T13:50:36Z","updated_at":"2016-11-21T23:30:07Z","closed_at":null,"body":"Logging is an important day to day development tool used to build the Mapbox Android SDK, however as @clydebarrow notes in #6363 it can be a bit overwhelming when used in an actual app.  Thankfully Jake Wharton (who else?) has a very lightweight solution for this problem in his Timber library.  Timber achieves this by separating the actual Log statements from the Log output functionality.  In other words, the SDK will only emit log statements when configured to do so and not at all in Prod / `release` builds by default.  This will let Mapbox Android SDK developers continue to use log statements for their work (ie, in development mode), but will dramatically decrease the log statements that Mapbox Android SDK implementing developers will see in their apps.\n\nhttps://github.com/JakeWharton/timber\n\n/cc @mapbox/android \n"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/262100961","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/6372#issuecomment-262100961","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/6372","id":262100961,"user":{"login":"tobrun","id":2151639,"avatar_url":"https://avatars.githubusercontent.com/u/2151639?v=3","gravatar_id":"","url":"https://api.github.com/users/tobrun","html_url":"https://github.com/tobrun","followers_url":"https://api.github.com/users/tobrun/followers","following_url":"https://api.github.com/users/tobrun/following{/other_user}","gists_url":"https://api.github.com/users/tobrun/gists{/gist_id}","starred_url":"https://api.github.com/users/tobrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobrun/subscriptions","organizations_url":"https://api.github.com/users/tobrun/orgs","repos_url":"https://api.github.com/users/tobrun/repos","events_url":"https://api.github.com/users/tobrun/events{/privacy}","received_events_url":"https://api.github.com/users/tobrun/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T23:30:07Z","updated_at":"2016-11-21T23:30:07Z","body":"@Guardiola31337 using default would be great, clearly shows where the log is coming from."}}
{"actor":{"display_login":"tobrun"}}