{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/15261","repository_url":"https://api.github.com/repos/ceph/ceph","labels_url":"https://api.github.com/repos/ceph/ceph/issues/15261/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/15261/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/15261/events","html_url":"https://github.com/ceph/ceph/pull/15261","id":230960196,"number":15261,"title":"os/filestore: when print log, use __func__ instead of hard code function name","user":{"login":"mychoxin","id":22094429,"avatar_url":"https://avatars1.githubusercontent.com/u/22094429?v=3","gravatar_id":"","url":"https://api.github.com/users/mychoxin","html_url":"https://github.com/mychoxin","followers_url":"https://api.github.com/users/mychoxin/followers","following_url":"https://api.github.com/users/mychoxin/following{/other_user}","gists_url":"https://api.github.com/users/mychoxin/gists{/gist_id}","starred_url":"https://api.github.com/users/mychoxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mychoxin/subscriptions","organizations_url":"https://api.github.com/users/mychoxin/orgs","repos_url":"https://api.github.com/users/mychoxin/repos","events_url":"https://api.github.com/users/mychoxin/events{/privacy}","received_events_url":"https://api.github.com/users/mychoxin/received_events","type":"User","site_admin":false},"labels":[{"id":140959062,"url":"https://api.github.com/repos/ceph/ceph/labels/cleanup","name":"cleanup","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-05-24T08:31:41Z","updated_at":"2017-06-02T12:56:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/15261","html_url":"https://github.com/ceph/ceph/pull/15261","diff_url":"https://github.com/ceph/ceph/pull/15261.diff","patch_url":"https://github.com/ceph/ceph/pull/15261.patch"},"body":"when print log, use __func__ instead of hard code function name\r\n\r\nSigned-off-by: mychoxin <mychoxin@gmail.com>"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/305777834","html_url":"https://github.com/ceph/ceph/pull/15261#issuecomment-305777834","issue_url":"https://api.github.com/repos/ceph/ceph/issues/15261","id":305777834,"user":{"login":"mychoxin","id":22094429,"avatar_url":"https://avatars1.githubusercontent.com/u/22094429?v=3","gravatar_id":"","url":"https://api.github.com/users/mychoxin","html_url":"https://github.com/mychoxin","followers_url":"https://api.github.com/users/mychoxin/followers","following_url":"https://api.github.com/users/mychoxin/following{/other_user}","gists_url":"https://api.github.com/users/mychoxin/gists{/gist_id}","starred_url":"https://api.github.com/users/mychoxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mychoxin/subscriptions","organizations_url":"https://api.github.com/users/mychoxin/orgs","repos_url":"https://api.github.com/users/mychoxin/repos","events_url":"https://api.github.com/users/mychoxin/events{/privacy}","received_events_url":"https://api.github.com/users/mychoxin/received_events","type":"User","site_admin":false},"created_at":"2017-06-02T12:56:22Z","updated_at":"2017-06-02T12:56:22Z","body":"@wjwithagen @joscollin \r\n\\_\\_func\\_\\_ has no class prefix, but \\_\\_PRETTY\\_FUNCTION\\_\\_is something good that we can use, here is my examples:\r\nfor a class member function, it prints like:\r\nint head_info_parser::parse_info()\r\nfor a global function, it prints like: \r\nint handle_remove_dev(void*, dev_info*)\r\nit includes return type, parameter type lists and class name if there exists."}}
{"actor":{"display_login":"mychoxin"}}