{"action":"closed","number":136,"pull_request":{"url":"https://api.github.com/repos/eggjs/egg/pulls/136","id":91768021,"html_url":"https://github.com/eggjs/egg/pull/136","diff_url":"https://github.com/eggjs/egg/pull/136.diff","patch_url":"https://github.com/eggjs/egg/pull/136.patch","issue_url":"https://api.github.com/repos/eggjs/egg/issues/136","number":136,"state":"closed","locked":false,"title":"feat: add getLogger to app and ctx","user":{"login":"popomore","id":360661,"avatar_url":"https://avatars.githubusercontent.com/u/360661?v=3","gravatar_id":"","url":"https://api.github.com/users/popomore","html_url":"https://github.com/popomore","followers_url":"https://api.github.com/users/popomore/followers","following_url":"https://api.github.com/users/popomore/following{/other_user}","gists_url":"https://api.github.com/users/popomore/gists{/gist_id}","starred_url":"https://api.github.com/users/popomore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popomore/subscriptions","organizations_url":"https://api.github.com/users/popomore/orgs","repos_url":"https://api.github.com/users/popomore/repos","events_url":"https://api.github.com/users/popomore/events{/privacy}","received_events_url":"https://api.github.com/users/popomore/received_events","type":"User","site_admin":false},"body":"<!--\r\nThank you for your pull request. Please review below requirements.\r\nBug fixes and new features should include tests and possibly benchmarks.\r\nContributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md\r\n\r\n感谢您贡献代码。请确认下列 checklist 的完成情况。\r\nBug 修复和新功能必须包含测试，必要时请附上性能测试。\r\nContributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md\r\n-->\r\n\r\n##### Checklist\r\n<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->\r\n\r\n- [ ] `npm test` passes\r\n- [ ] tests and/or benchmarks are included\r\n- [x] commit message follows commit guidelines\r\n\r\n##### Affected core subsystem(s)\r\n<!-- Provide affected core subsystem(s). -->\r\n\r\napp and ctx\r\n\r\n##### Description of change\r\n<!-- Provide a description of the change below this comment. -->\r\n\r\nit can be override with custom function\r\n\r\nCloses eggjs/egg#36","created_at":"2016-11-01T11:27:04Z","updated_at":"2016-11-02T05:57:29Z","closed_at":"2016-11-02T05:57:28Z","merged_at":"2016-11-02T05:57:28Z","merge_commit_sha":"cd99a1f06ac9fc473d67bb288ed0fbc430944bec","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/eggjs/egg/pulls/136/commits","review_comments_url":"https://api.github.com/repos/eggjs/egg/pulls/136/comments","review_comment_url":"https://api.github.com/repos/eggjs/egg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eggjs/egg/issues/136/comments","statuses_url":"https://api.github.com/repos/eggjs/egg/statuses/daabd440fe018e8985e0881af6e5b4878c2cece3","head":{"label":"eggjs:get-logger","ref":"get-logger","sha":"daabd440fe018e8985e0881af6e5b4878c2cece3","user":{"login":"eggjs","id":15833670,"avatar_url":"https://avatars.githubusercontent.com/u/15833670?v=3","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"repo":{"id":61421257,"name":"egg","full_name":"eggjs/egg","owner":{"login":"eggjs","id":15833670,"avatar_url":"https://avatars.githubusercontent.com/u/15833670?v=3","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eggjs/egg","description":"Born to build better enterprise frameworks and apps","fork":false,"url":"https://api.github.com/repos/eggjs/egg","forks_url":"https://api.github.com/repos/eggjs/egg/forks","keys_url":"https://api.github.com/repos/eggjs/egg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eggjs/egg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eggjs/egg/teams","hooks_url":"https://api.github.com/repos/eggjs/egg/hooks","issue_events_url":"https://api.github.com/repos/eggjs/egg/issues/events{/number}","events_url":"https://api.github.com/repos/eggjs/egg/events","assignees_url":"https://api.github.com/repos/eggjs/egg/assignees{/user}","branches_url":"https://api.github.com/repos/eggjs/egg/branches{/branch}","tags_url":"https://api.github.com/repos/eggjs/egg/tags","blobs_url":"https://api.github.com/repos/eggjs/egg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eggjs/egg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eggjs/egg/git/refs{/sha}","trees_url":"https://api.github.com/repos/eggjs/egg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eggjs/egg/statuses/{sha}","languages_url":"https://api.github.com/repos/eggjs/egg/languages","stargazers_url":"https://api.github.com/repos/eggjs/egg/stargazers","contributors_url":"https://api.github.com/repos/eggjs/egg/contributors","subscribers_url":"https://api.github.com/repos/eggjs/egg/subscribers","subscription_url":"https://api.github.com/repos/eggjs/egg/subscription","commits_url":"https://api.github.com/repos/eggjs/egg/commits{/sha}","git_commits_url":"https://api.github.com/repos/eggjs/egg/git/commits{/sha}","comments_url":"https://api.github.com/repos/eggjs/egg/comments{/number}","issue_comment_url":"https://api.github.com/repos/eggjs/egg/issues/comments{/number}","contents_url":"https://api.github.com/repos/eggjs/egg/contents/{+path}","compare_url":"https://api.github.com/repos/eggjs/egg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eggjs/egg/merges","archive_url":"https://api.github.com/repos/eggjs/egg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eggjs/egg/downloads","issues_url":"https://api.github.com/repos/eggjs/egg/issues{/number}","pulls_url":"https://api.github.com/repos/eggjs/egg/pulls{/number}","milestones_url":"https://api.github.com/repos/eggjs/egg/milestones{/number}","notifications_url":"https://api.github.com/repos/eggjs/egg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eggjs/egg/labels{/name}","releases_url":"https://api.github.com/repos/eggjs/egg/releases{/id}","deployments_url":"https://api.github.com/repos/eggjs/egg/deployments","created_at":"2016-06-18T06:53:23Z","updated_at":"2016-11-02T01:21:25Z","pushed_at":"2016-11-02T05:57:28Z","git_url":"git://github.com/eggjs/egg.git","ssh_url":"git@github.com:eggjs/egg.git","clone_url":"https://github.com/eggjs/egg.git","svn_url":"https://github.com/eggjs/egg","homepage":"https://eggjs.org","size":1197,"stargazers_count":396,"watchers_count":396,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":21,"mirror_url":null,"open_issues_count":34,"forks":21,"open_issues":34,"watchers":396,"default_branch":"master"}},"base":{"label":"eggjs:master","ref":"master","sha":"4e62112e1d3a9908f4e4c0b5dfc96a22c5084522","user":{"login":"eggjs","id":15833670,"avatar_url":"https://avatars.githubusercontent.com/u/15833670?v=3","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"repo":{"id":61421257,"name":"egg","full_name":"eggjs/egg","owner":{"login":"eggjs","id":15833670,"avatar_url":"https://avatars.githubusercontent.com/u/15833670?v=3","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eggjs/egg","description":"Born to build better enterprise frameworks and apps","fork":false,"url":"https://api.github.com/repos/eggjs/egg","forks_url":"https://api.github.com/repos/eggjs/egg/forks","keys_url":"https://api.github.com/repos/eggjs/egg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eggjs/egg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eggjs/egg/teams","hooks_url":"https://api.github.com/repos/eggjs/egg/hooks","issue_events_url":"https://api.github.com/repos/eggjs/egg/issues/events{/number}","events_url":"https://api.github.com/repos/eggjs/egg/events","assignees_url":"https://api.github.com/repos/eggjs/egg/assignees{/user}","branches_url":"https://api.github.com/repos/eggjs/egg/branches{/branch}","tags_url":"https://api.github.com/repos/eggjs/egg/tags","blobs_url":"https://api.github.com/repos/eggjs/egg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eggjs/egg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eggjs/egg/git/refs{/sha}","trees_url":"https://api.github.com/repos/eggjs/egg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eggjs/egg/statuses/{sha}","languages_url":"https://api.github.com/repos/eggjs/egg/languages","stargazers_url":"https://api.github.com/repos/eggjs/egg/stargazers","contributors_url":"https://api.github.com/repos/eggjs/egg/contributors","subscribers_url":"https://api.github.com/repos/eggjs/egg/subscribers","subscription_url":"https://api.github.com/repos/eggjs/egg/subscription","commits_url":"https://api.github.com/repos/eggjs/egg/commits{/sha}","git_commits_url":"https://api.github.com/repos/eggjs/egg/git/commits{/sha}","comments_url":"https://api.github.com/repos/eggjs/egg/comments{/number}","issue_comment_url":"https://api.github.com/repos/eggjs/egg/issues/comments{/number}","contents_url":"https://api.github.com/repos/eggjs/egg/contents/{+path}","compare_url":"https://api.github.com/repos/eggjs/egg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eggjs/egg/merges","archive_url":"https://api.github.com/repos/eggjs/egg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eggjs/egg/downloads","issues_url":"https://api.github.com/repos/eggjs/egg/issues{/number}","pulls_url":"https://api.github.com/repos/eggjs/egg/pulls{/number}","milestones_url":"https://api.github.com/repos/eggjs/egg/milestones{/number}","notifications_url":"https://api.github.com/repos/eggjs/egg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eggjs/egg/labels{/name}","releases_url":"https://api.github.com/repos/eggjs/egg/releases{/id}","deployments_url":"https://api.github.com/repos/eggjs/egg/deployments","created_at":"2016-06-18T06:53:23Z","updated_at":"2016-11-02T01:21:25Z","pushed_at":"2016-11-02T05:57:28Z","git_url":"git://github.com/eggjs/egg.git","ssh_url":"git@github.com:eggjs/egg.git","clone_url":"https://github.com/eggjs/egg.git","svn_url":"https://github.com/eggjs/egg","homepage":"https://eggjs.org","size":1197,"stargazers_count":396,"watchers_count":396,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":21,"mirror_url":null,"open_issues_count":34,"forks":21,"open_issues":34,"watchers":396,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eggjs/egg/pulls/136"},"html":{"href":"https://github.com/eggjs/egg/pull/136"},"issue":{"href":"https://api.github.com/repos/eggjs/egg/issues/136"},"comments":{"href":"https://api.github.com/repos/eggjs/egg/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/eggjs/egg/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/eggjs/egg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eggjs/egg/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/eggjs/egg/statuses/daabd440fe018e8985e0881af6e5b4878c2cece3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"fengmk2","id":156269,"avatar_url":"https://avatars.githubusercontent.com/u/156269?v=3","gravatar_id":"","url":"https://api.github.com/users/fengmk2","html_url":"https://github.com/fengmk2","followers_url":"https://api.github.com/users/fengmk2/followers","following_url":"https://api.github.com/users/fengmk2/following{/other_user}","gists_url":"https://api.github.com/users/fengmk2/gists{/gist_id}","starred_url":"https://api.github.com/users/fengmk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengmk2/subscriptions","organizations_url":"https://api.github.com/users/fengmk2/orgs","repos_url":"https://api.github.com/users/fengmk2/repos","events_url":"https://api.github.com/users/fengmk2/events{/privacy}","received_events_url":"https://api.github.com/users/fengmk2/received_events","type":"User","site_admin":false},"comments":9,"review_comments":2,"commits":1,"additions":131,"deletions":35,"changed_files":10}}
{"actor":{"display_login":"fengmk2"}}