{"action":"created","comment":{"url":"https://api.github.com/repos/Nercury/android_logger-rs/pulls/comments/169942913","pull_request_review_id":98549375,"id":169942913,"diff_hunk":"@@ -243,6 +244,7 @@ impl<'a> fmt::Write for PlatformLogWriter<'a> {\n /// repeatedly called on every lifecycle restart (i.e. screen rotation).\n pub fn init_once(log_level: Level) {\n     log::set_max_level(log_level.to_level_filter());\n-    log::set_logger(&AndroidLogger).unwrap();\n-\n+    if let Err(err) = log::set_logger(&AndroidLogger) {\n+        debug!(\"android_logger: log::set_logger failed: {}\", err);","path":"src/lib.rs","position":null,"original_position":15,"commit_id":"d9b4c92586fc158868f8ae10f97b3ebd56e86dc9","original_commit_id":"a2c4983e1870077ee4c61e03280a245598eb8a08","user":{"login":"Nercury","id":106180,"avatar_url":"https://avatars3.githubusercontent.com/u/106180?v=4","gravatar_id":"","url":"https://api.github.com/users/Nercury","html_url":"https://github.com/Nercury","followers_url":"https://api.github.com/users/Nercury/followers","following_url":"https://api.github.com/users/Nercury/following{/other_user}","gists_url":"https://api.github.com/users/Nercury/gists{/gist_id}","starred_url":"https://api.github.com/users/Nercury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nercury/subscriptions","organizations_url":"https://api.github.com/users/Nercury/orgs","repos_url":"https://api.github.com/users/Nercury/repos","events_url":"https://api.github.com/users/Nercury/events{/privacy}","received_events_url":"https://api.github.com/users/Nercury/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2018-02-22T12:40:23Z","updated_at":"2018-02-22T12:40:23Z","html_url":"https://github.com/Nercury/android_logger-rs/pull/11#discussion_r169942913","pull_request_url":"https://api.github.com/repos/Nercury/android_logger-rs/pulls/11","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Nercury/android_logger-rs/pulls/comments/169942913"},"html":{"href":"https://github.com/Nercury/android_logger-rs/pull/11#discussion_r169942913"},"pull_request":{"href":"https://api.github.com/repos/Nercury/android_logger-rs/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/Nercury/android_logger-rs/pulls/11","id":170738081,"html_url":"https://github.com/Nercury/android_logger-rs/pull/11","diff_url":"https://github.com/Nercury/android_logger-rs/pull/11.diff","patch_url":"https://github.com/Nercury/android_logger-rs/pull/11.patch","issue_url":"https://api.github.com/repos/Nercury/android_logger-rs/issues/11","number":11,"state":"closed","locked":false,"title":"Bump to log 0 4","user":{"login":"Dushistov","id":156697,"avatar_url":"https://avatars3.githubusercontent.com/u/156697?v=4","gravatar_id":"","url":"https://api.github.com/users/Dushistov","html_url":"https://github.com/Dushistov","followers_url":"https://api.github.com/users/Dushistov/followers","following_url":"https://api.github.com/users/Dushistov/following{/other_user}","gists_url":"https://api.github.com/users/Dushistov/gists{/gist_id}","starred_url":"https://api.github.com/users/Dushistov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dushistov/subscriptions","organizations_url":"https://api.github.com/users/Dushistov/orgs","repos_url":"https://api.github.com/users/Dushistov/repos","events_url":"https://api.github.com/users/Dushistov/events{/privacy}","received_events_url":"https://api.github.com/users/Dushistov/received_events","type":"User","site_admin":false},"body":"Close #10 ","created_at":"2018-02-22T12:34:52Z","updated_at":"2018-02-22T12:40:23Z","closed_at":"2018-02-22T12:39:33Z","merged_at":"2018-02-22T12:39:33Z","merge_commit_sha":"16ae4d53e3d4d58990a8820c475a8041207375c0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Nercury/android_logger-rs/pulls/11/commits","review_comments_url":"https://api.github.com/repos/Nercury/android_logger-rs/pulls/11/comments","review_comment_url":"https://api.github.com/repos/Nercury/android_logger-rs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Nercury/android_logger-rs/issues/11/comments","statuses_url":"https://api.github.com/repos/Nercury/android_logger-rs/statuses/d9b4c92586fc158868f8ae10f97b3ebd56e86dc9","head":{"label":"Dushistov:bump_to_log_0_4","ref":"bump_to_log_0_4","sha":"d9b4c92586fc158868f8ae10f97b3ebd56e86dc9","user":{"login":"Dushistov","id":156697,"avatar_url":"https://avatars3.githubusercontent.com/u/156697?v=4","gravatar_id":"","url":"https://api.github.com/users/Dushistov","html_url":"https://github.com/Dushistov","followers_url":"https://api.github.com/users/Dushistov/followers","following_url":"https://api.github.com/users/Dushistov/following{/other_user}","gists_url":"https://api.github.com/users/Dushistov/gists{/gist_id}","starred_url":"https://api.github.com/users/Dushistov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dushistov/subscriptions","organizations_url":"https://api.github.com/users/Dushistov/orgs","repos_url":"https://api.github.com/users/Dushistov/repos","events_url":"https://api.github.com/users/Dushistov/events{/privacy}","received_events_url":"https://api.github.com/users/Dushistov/received_events","type":"User","site_admin":false},"repo":{"id":84523459,"name":"android_logger-rs","full_name":"Dushistov/android_logger-rs","owner":{"login":"Dushistov","id":156697,"avatar_url":"https://avatars3.githubusercontent.com/u/156697?v=4","gravatar_id":"","url":"https://api.github.com/users/Dushistov","html_url":"https://github.com/Dushistov","followers_url":"https://api.github.com/users/Dushistov/followers","following_url":"https://api.github.com/users/Dushistov/following{/other_user}","gists_url":"https://api.github.com/users/Dushistov/gists{/gist_id}","starred_url":"https://api.github.com/users/Dushistov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dushistov/subscriptions","organizations_url":"https://api.github.com/users/Dushistov/orgs","repos_url":"https://api.github.com/users/Dushistov/repos","events_url":"https://api.github.com/users/Dushistov/events{/privacy}","received_events_url":"https://api.github.com/users/Dushistov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Dushistov/android_logger-rs","description":"A Rust logging implementation for `log` which hooks to android log output","fork":true,"url":"https://api.github.com/repos/Dushistov/android_logger-rs","forks_url":"https://api.github.com/repos/Dushistov/android_logger-rs/forks","keys_url":"https://api.github.com/repos/Dushistov/android_logger-rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dushistov/android_logger-rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dushistov/android_logger-rs/teams","hooks_url":"https://api.github.com/repos/Dushistov/android_logger-rs/hooks","issue_events_url":"https://api.github.com/repos/Dushistov/android_logger-rs/issues/events{/number}","events_url":"https://api.github.com/repos/Dushistov/android_logger-rs/events","assignees_url":"https://api.github.com/repos/Dushistov/android_logger-rs/assignees{/user}","branches_url":"https://api.github.com/repos/Dushistov/android_logger-rs/branches{/branch}","tags_url":"https://api.github.com/repos/Dushistov/android_logger-rs/tags","blobs_url":"https://api.github.com/repos/Dushistov/android_logger-rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dushistov/android_logger-rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dushistov/android_logger-rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dushistov/android_logger-rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dushistov/android_logger-rs/statuses/{sha}","languages_url":"https://api.github.com/repos/Dushistov/android_logger-rs/languages","stargazers_url":"https://api.github.com/repos/Dushistov/android_logger-rs/stargazers","contributors_url":"https://api.github.com/repos/Dushistov/android_logger-rs/contributors","subscribers_url":"https://api.github.com/repos/Dushistov/android_logger-rs/subscribers","subscription_url":"https://api.github.com/repos/Dushistov/android_logger-rs/subscription","commits_url":"https://api.github.com/repos/Dushistov/android_logger-rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dushistov/android_logger-rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dushistov/android_logger-rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dushistov/android_logger-rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dushistov/android_logger-rs/contents/{+path}","compare_url":"https://api.github.com/repos/Dushistov/android_logger-rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dushistov/android_logger-rs/merges","archive_url":"https://api.github.com/repos/Dushistov/android_logger-rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dushistov/android_logger-rs/downloads","issues_url":"https://api.github.com/repos/Dushistov/android_logger-rs/issues{/number}","pulls_url":"https://api.github.com/repos/Dushistov/android_logger-rs/pulls{/number}","milestones_url":"https://api.github.com/repos/Dushistov/android_logger-rs/milestones{/number}","notifications_url":"https://api.github.com/repos/Dushistov/android_logger-rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dushistov/android_logger-rs/labels{/name}","releases_url":"https://api.github.com/repos/Dushistov/android_logger-rs/releases{/id}","deployments_url":"https://api.github.com/repos/Dushistov/android_logger-rs/deployments","created_at":"2017-03-10T05:40:05Z","updated_at":"2017-03-10T05:40:07Z","pushed_at":"2018-02-22T12:34:13Z","git_url":"git://github.com/Dushistov/android_logger-rs.git","ssh_url":"git@github.com:Dushistov/android_logger-rs.git","clone_url":"https://github.com/Dushistov/android_logger-rs.git","svn_url":"https://github.com/Dushistov/android_logger-rs","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Nercury:master","ref":"master","sha":"1bac2aec4fda75bfbe8fc3f880828ac42ae01a7b","user":{"login":"Nercury","id":106180,"avatar_url":"https://avatars3.githubusercontent.com/u/106180?v=4","gravatar_id":"","url":"https://api.github.com/users/Nercury","html_url":"https://github.com/Nercury","followers_url":"https://api.github.com/users/Nercury/followers","following_url":"https://api.github.com/users/Nercury/following{/other_user}","gists_url":"https://api.github.com/users/Nercury/gists{/gist_id}","starred_url":"https://api.github.com/users/Nercury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nercury/subscriptions","organizations_url":"https://api.github.com/users/Nercury/orgs","repos_url":"https://api.github.com/users/Nercury/repos","events_url":"https://api.github.com/users/Nercury/events{/privacy}","received_events_url":"https://api.github.com/users/Nercury/received_events","type":"User","site_admin":false},"repo":{"id":52392034,"name":"android_logger-rs","full_name":"Nercury/android_logger-rs","owner":{"login":"Nercury","id":106180,"avatar_url":"https://avatars3.githubusercontent.com/u/106180?v=4","gravatar_id":"","url":"https://api.github.com/users/Nercury","html_url":"https://github.com/Nercury","followers_url":"https://api.github.com/users/Nercury/followers","following_url":"https://api.github.com/users/Nercury/following{/other_user}","gists_url":"https://api.github.com/users/Nercury/gists{/gist_id}","starred_url":"https://api.github.com/users/Nercury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nercury/subscriptions","organizations_url":"https://api.github.com/users/Nercury/orgs","repos_url":"https://api.github.com/users/Nercury/repos","events_url":"https://api.github.com/users/Nercury/events{/privacy}","received_events_url":"https://api.github.com/users/Nercury/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nercury/android_logger-rs","description":"A Rust logging implementation for `log` which hooks to android log output","fork":false,"url":"https://api.github.com/repos/Nercury/android_logger-rs","forks_url":"https://api.github.com/repos/Nercury/android_logger-rs/forks","keys_url":"https://api.github.com/repos/Nercury/android_logger-rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nercury/android_logger-rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nercury/android_logger-rs/teams","hooks_url":"https://api.github.com/repos/Nercury/android_logger-rs/hooks","issue_events_url":"https://api.github.com/repos/Nercury/android_logger-rs/issues/events{/number}","events_url":"https://api.github.com/repos/Nercury/android_logger-rs/events","assignees_url":"https://api.github.com/repos/Nercury/android_logger-rs/assignees{/user}","branches_url":"https://api.github.com/repos/Nercury/android_logger-rs/branches{/branch}","tags_url":"https://api.github.com/repos/Nercury/android_logger-rs/tags","blobs_url":"https://api.github.com/repos/Nercury/android_logger-rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nercury/android_logger-rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nercury/android_logger-rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nercury/android_logger-rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nercury/android_logger-rs/statuses/{sha}","languages_url":"https://api.github.com/repos/Nercury/android_logger-rs/languages","stargazers_url":"https://api.github.com/repos/Nercury/android_logger-rs/stargazers","contributors_url":"https://api.github.com/repos/Nercury/android_logger-rs/contributors","subscribers_url":"https://api.github.com/repos/Nercury/android_logger-rs/subscribers","subscription_url":"https://api.github.com/repos/Nercury/android_logger-rs/subscription","commits_url":"https://api.github.com/repos/Nercury/android_logger-rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nercury/android_logger-rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nercury/android_logger-rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nercury/android_logger-rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nercury/android_logger-rs/contents/{+path}","compare_url":"https://api.github.com/repos/Nercury/android_logger-rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nercury/android_logger-rs/merges","archive_url":"https://api.github.com/repos/Nercury/android_logger-rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nercury/android_logger-rs/downloads","issues_url":"https://api.github.com/repos/Nercury/android_logger-rs/issues{/number}","pulls_url":"https://api.github.com/repos/Nercury/android_logger-rs/pulls{/number}","milestones_url":"https://api.github.com/repos/Nercury/android_logger-rs/milestones{/number}","notifications_url":"https://api.github.com/repos/Nercury/android_logger-rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nercury/android_logger-rs/labels{/name}","releases_url":"https://api.github.com/repos/Nercury/android_logger-rs/releases{/id}","deployments_url":"https://api.github.com/repos/Nercury/android_logger-rs/deployments","created_at":"2016-02-23T21:13:03Z","updated_at":"2018-02-07T05:30:30Z","pushed_at":"2018-02-22T12:39:34Z","git_url":"git://github.com/Nercury/android_logger-rs.git","ssh_url":"git@github.com:Nercury/android_logger-rs.git","clone_url":"https://github.com/Nercury/android_logger-rs.git","svn_url":"https://github.com/Nercury/android_logger-rs","homepage":null,"size":17,"stargazers_count":14,"watchers_count":14,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":4,"open_issues":0,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Nercury/android_logger-rs/pulls/11"},"html":{"href":"https://github.com/Nercury/android_logger-rs/pull/11"},"issue":{"href":"https://api.github.com/repos/Nercury/android_logger-rs/issues/11"},"comments":{"href":"https://api.github.com/repos/Nercury/android_logger-rs/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/Nercury/android_logger-rs/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/Nercury/android_logger-rs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Nercury/android_logger-rs/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/Nercury/android_logger-rs/statuses/d9b4c92586fc158868f8ae10f97b3ebd56e86dc9"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Nercury"}}