{"action":"created","comment":{"url":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/comments/23899780","id":23899780,"diff_hunk":"@@ -0,0 +1,183 @@\n+/*\n+ * Copyright 2015 Radius Networks, Inc.\n+ * Copyright 2015 Andrew Reitz\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *    http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package org.altbeacon.beacon.logging;\n+\n+/**\n+ * Manager for logging in the Altbeacon library. The default is a\n+ * {@link org.altbeacon.beacon.logging.Loggers#debug()}.\n+ *\n+ * @author Andrew Reitz\n+ * @since 2.2\n+ */\n+public final class LogManager {\n+    private static Logger sLogger = Loggers.debug();","path":"src/main/java/org/altbeacon/beacon/logging/LogManager.java","position":27,"original_position":27,"commit_id":"5d20508ecf0da583bb2c606c9b4826fa29c24dad","original_commit_id":"5d20508ecf0da583bb2c606c9b4826fa29c24dad","user":{"login":"davidgyoung","id":1044849,"avatar_url":"https://avatars.githubusercontent.com/u/1044849?v=3","gravatar_id":"","url":"https://api.github.com/users/davidgyoung","html_url":"https://github.com/davidgyoung","followers_url":"https://api.github.com/users/davidgyoung/followers","following_url":"https://api.github.com/users/davidgyoung/following{/other_user}","gists_url":"https://api.github.com/users/davidgyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/davidgyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidgyoung/subscriptions","organizations_url":"https://api.github.com/users/davidgyoung/orgs","repos_url":"https://api.github.com/users/davidgyoung/repos","events_url":"https://api.github.com/users/davidgyoung/events{/privacy}","received_events_url":"https://api.github.com/users/davidgyoung/received_events","type":"User","site_admin":false},"body":"By default, it appears this will use the debug logger, which will output everything (debug, info, warning, error) to LogCat, correct?  I think the default should be that it only outputs only warning and error messages.","created_at":"2015-02-01T18:36:14Z","updated_at":"2015-02-01T18:36:14Z","html_url":"https://github.com/AltBeacon/android-beacon-library/pull/87#discussion_r23899780","pull_request_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/comments/23899780"},"html":{"href":"https://github.com/AltBeacon/android-beacon-library/pull/87#discussion_r23899780"},"pull_request":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/87","id":27552689,"html_url":"https://github.com/AltBeacon/android-beacon-library/pull/87","diff_url":"https://github.com/AltBeacon/android-beacon-library/pull/87.diff","patch_url":"https://github.com/AltBeacon/android-beacon-library/pull/87.patch","issue_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/87","number":87,"state":"open","locked":false,"title":"Update logging","user":{"login":"pieces029","id":1349353,"avatar_url":"https://avatars.githubusercontent.com/u/1349353?v=3","gravatar_id":"","url":"https://api.github.com/users/pieces029","html_url":"https://github.com/pieces029","followers_url":"https://api.github.com/users/pieces029/followers","following_url":"https://api.github.com/users/pieces029/following{/other_user}","gists_url":"https://api.github.com/users/pieces029/gists{/gist_id}","starred_url":"https://api.github.com/users/pieces029/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pieces029/subscriptions","organizations_url":"https://api.github.com/users/pieces029/orgs","repos_url":"https://api.github.com/users/pieces029/repos","events_url":"https://api.github.com/users/pieces029/events{/privacy}","received_events_url":"https://api.github.com/users/pieces029/received_events","type":"User","site_admin":false},"body":"Updated the logging to have all log messages wrapped, allowing users to not have any logging, or specify a custom logger.\r\n\r\nSorry if this PR is too noisy. I can revert some of the changes if you would like.","created_at":"2015-01-17T05:51:54Z","updated_at":"2015-02-01T18:36:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35897d4573776e41f24938130fdc260d55dd5c2d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/87/commits","review_comments_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/87/comments","review_comment_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/comments/{number}","comments_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/87/comments","statuses_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/statuses/5d20508ecf0da583bb2c606c9b4826fa29c24dad","head":{"label":"PhysicalGraph:update-logging","ref":"update-logging","sha":"5d20508ecf0da583bb2c606c9b4826fa29c24dad","user":{"login":"PhysicalGraph","id":1829158,"avatar_url":"https://avatars.githubusercontent.com/u/1829158?v=3","gravatar_id":"","url":"https://api.github.com/users/PhysicalGraph","html_url":"https://github.com/PhysicalGraph","followers_url":"https://api.github.com/users/PhysicalGraph/followers","following_url":"https://api.github.com/users/PhysicalGraph/following{/other_user}","gists_url":"https://api.github.com/users/PhysicalGraph/gists{/gist_id}","starred_url":"https://api.github.com/users/PhysicalGraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhysicalGraph/subscriptions","organizations_url":"https://api.github.com/users/PhysicalGraph/orgs","repos_url":"https://api.github.com/users/PhysicalGraph/repos","events_url":"https://api.github.com/users/PhysicalGraph/events{/privacy}","received_events_url":"https://api.github.com/users/PhysicalGraph/received_events","type":"Organization","site_admin":false},"repo":{"id":28647165,"name":"android-beacon-library","full_name":"PhysicalGraph/android-beacon-library","owner":{"login":"PhysicalGraph","id":1829158,"avatar_url":"https://avatars.githubusercontent.com/u/1829158?v=3","gravatar_id":"","url":"https://api.github.com/users/PhysicalGraph","html_url":"https://github.com/PhysicalGraph","followers_url":"https://api.github.com/users/PhysicalGraph/followers","following_url":"https://api.github.com/users/PhysicalGraph/following{/other_user}","gists_url":"https://api.github.com/users/PhysicalGraph/gists{/gist_id}","starred_url":"https://api.github.com/users/PhysicalGraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhysicalGraph/subscriptions","organizations_url":"https://api.github.com/users/PhysicalGraph/orgs","repos_url":"https://api.github.com/users/PhysicalGraph/repos","events_url":"https://api.github.com/users/PhysicalGraph/events{/privacy}","received_events_url":"https://api.github.com/users/PhysicalGraph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PhysicalGraph/android-beacon-library","description":"Allows Android apps to interact with BLE beacons","fork":true,"url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library","forks_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/forks","keys_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/teams","hooks_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/hooks","issue_events_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/issues/events{/number}","events_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/events","assignees_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/assignees{/user}","branches_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/branches{/branch}","tags_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/tags","blobs_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/statuses/{sha}","languages_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/languages","stargazers_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/stargazers","contributors_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/contributors","subscribers_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/subscribers","subscription_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/subscription","commits_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/issues/comments/{number}","contents_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/contents/{+path}","compare_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/merges","archive_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/downloads","issues_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/issues{/number}","pulls_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/pulls{/number}","milestones_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/milestones{/number}","notifications_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/labels{/name}","releases_url":"https://api.github.com/repos/PhysicalGraph/android-beacon-library/releases{/id}","created_at":"2014-12-30T22:10:12Z","updated_at":"2015-01-17T02:44:56Z","pushed_at":"2015-02-01T14:43:24Z","git_url":"git://github.com/PhysicalGraph/android-beacon-library.git","ssh_url":"git@github.com:PhysicalGraph/android-beacon-library.git","clone_url":"https://github.com/PhysicalGraph/android-beacon-library.git","svn_url":"https://github.com/PhysicalGraph/android-beacon-library","homepage":null,"size":1953,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AltBeacon:master","ref":"master","sha":"528194e4f8e43d7e66c0c2d0098cc3a67d0a31e6","user":{"login":"AltBeacon","id":8183428,"avatar_url":"https://avatars.githubusercontent.com/u/8183428?v=3","gravatar_id":"","url":"https://api.github.com/users/AltBeacon","html_url":"https://github.com/AltBeacon","followers_url":"https://api.github.com/users/AltBeacon/followers","following_url":"https://api.github.com/users/AltBeacon/following{/other_user}","gists_url":"https://api.github.com/users/AltBeacon/gists{/gist_id}","starred_url":"https://api.github.com/users/AltBeacon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AltBeacon/subscriptions","organizations_url":"https://api.github.com/users/AltBeacon/orgs","repos_url":"https://api.github.com/users/AltBeacon/repos","events_url":"https://api.github.com/users/AltBeacon/events{/privacy}","received_events_url":"https://api.github.com/users/AltBeacon/received_events","type":"Organization","site_admin":false},"repo":{"id":22342877,"name":"android-beacon-library","full_name":"AltBeacon/android-beacon-library","owner":{"login":"AltBeacon","id":8183428,"avatar_url":"https://avatars.githubusercontent.com/u/8183428?v=3","gravatar_id":"","url":"https://api.github.com/users/AltBeacon","html_url":"https://github.com/AltBeacon","followers_url":"https://api.github.com/users/AltBeacon/followers","following_url":"https://api.github.com/users/AltBeacon/following{/other_user}","gists_url":"https://api.github.com/users/AltBeacon/gists{/gist_id}","starred_url":"https://api.github.com/users/AltBeacon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AltBeacon/subscriptions","organizations_url":"https://api.github.com/users/AltBeacon/orgs","repos_url":"https://api.github.com/users/AltBeacon/repos","events_url":"https://api.github.com/users/AltBeacon/events{/privacy}","received_events_url":"https://api.github.com/users/AltBeacon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AltBeacon/android-beacon-library","description":"Allows Android apps to interact with BLE beacons","fork":false,"url":"https://api.github.com/repos/AltBeacon/android-beacon-library","forks_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/forks","keys_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/teams","hooks_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/hooks","issue_events_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/events{/number}","events_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/events","assignees_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/assignees{/user}","branches_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/branches{/branch}","tags_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/tags","blobs_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/statuses/{sha}","languages_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/languages","stargazers_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/stargazers","contributors_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/contributors","subscribers_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/subscribers","subscription_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/subscription","commits_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/comments/{number}","contents_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/contents/{+path}","compare_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/merges","archive_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/downloads","issues_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues{/number}","pulls_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls{/number}","milestones_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/milestones{/number}","notifications_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/labels{/name}","releases_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/releases{/id}","created_at":"2014-07-28T13:11:19Z","updated_at":"2015-02-01T18:12:41Z","pushed_at":"2015-01-31T21:39:47Z","git_url":"git://github.com/AltBeacon/android-beacon-library.git","ssh_url":"git@github.com:AltBeacon/android-beacon-library.git","clone_url":"https://github.com/AltBeacon/android-beacon-library.git","svn_url":"https://github.com/AltBeacon/android-beacon-library","homepage":null,"size":2971,"stargazers_count":378,"watchers_count":378,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":150,"mirror_url":null,"open_issues_count":13,"forks":150,"open_issues":13,"watchers":378,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/87"},"html":{"href":"https://github.com/AltBeacon/android-beacon-library/pull/87"},"issue":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/87"},"comments":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/statuses/5d20508ecf0da583bb2c606c9b4826fa29c24dad"}}}}