payload: {"action":"created","issue":{"url":"https://api.github.com/repos/Delgan/loguru/issues/138","repository_url":"https://api.github.com/repos/Delgan/loguru","labels_url":"https://api.github.com/repos/Delgan/loguru/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/Delgan/loguru/issues/138/comments","events_url":"https://api.github.com/repos/Delgan/loguru/issues/138/events","html_url":"https://github.com/Delgan/loguru/issues/138","id":486156236,"node_id":"MDU6SXNzdWU0ODYxNTYyMzY=","number":138,"title":"How to set the log level?","user":{"login":"cyberfox1","id":39321046,"node_id":"MDQ6VXNlcjM5MzIxMDQ2","avatar_url":"https://avatars0.githubusercontent.com/u/39321046?v=4","gravatar_id":"","url":"https://api.github.com/users/cyberfox1","html_url":"https://github.com/cyberfox1","followers_url":"https://api.github.com/users/cyberfox1/followers","following_url":"https://api.github.com/users/cyberfox1/following{/other_user}","gists_url":"https://api.github.com/users/cyberfox1/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberfox1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberfox1/subscriptions","organizations_url":"https://api.github.com/users/cyberfox1/orgs","repos_url":"https://api.github.com/users/cyberfox1/repos","events_url":"https://api.github.com/users/cyberfox1/events{/privacy}","received_events_url":"https://api.github.com/users/cyberfox1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-08-28T04:39:43Z","updated_at":"2019-08-28T17:31:45Z","closed_at":null,"author_association":"NONE","body":"It's strange for something that is supposed to be stupidly simple there is no setLevel() function available, as on the plain old logger I get back from getLogger().\r\n\r\nThe docs show a heavy handed approach of adding a whole new handler just to set the level like:\r\n\r\nlogger.add(sys.stderr, format=\"{time} {level} {message}\", filter=\"my_module\", level=\"INFO\")\r\n\r\nBut really?"},"comment":{"url":"https://api.github.com/repos/Delgan/loguru/issues/comments/525844687","html_url":"https://github.com/Delgan/loguru/issues/138#issuecomment-525844687","issue_url":"https://api.github.com/repos/Delgan/loguru/issues/138","id":525844687,"node_id":"MDEyOklzc3VlQ29tbWVudDUyNTg0NDY4Nw==","user":{"login":"Delgan","id":4193924,"node_id":"MDQ6VXNlcjQxOTM5MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4193924?v=4","gravatar_id":"","url":"https://api.github.com/users/Delgan","html_url":"https://github.com/Delgan","followers_url":"https://api.github.com/users/Delgan/followers","following_url":"https://api.github.com/users/Delgan/following{/other_user}","gists_url":"https://api.github.com/users/Delgan/gists{/gist_id}","starred_url":"https://api.github.com/users/Delgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Delgan/subscriptions","organizations_url":"https://api.github.com/users/Delgan/orgs","repos_url":"https://api.github.com/users/Delgan/repos","events_url":"https://api.github.com/users/Delgan/events{/privacy}","received_events_url":"https://api.github.com/users/Delgan/received_events","type":"User","site_admin":false},"created_at":"2019-08-28T17:31:45Z","updated_at":"2019-08-28T17:31:45Z","author_association":"OWNER","body":"The thing to understand is that, contrary to standard `logging`, the Loguru's `logger` is not associated to any level: only handlers are. So, there is no `setLevel()` function because it would not make sense. The handlers are the sole master of the logs severity they accept."}}
other: {"actor":{"display_login":"Delgan"}}