{"action":"created","issue":{"url":"https://api.github.com/repos/q2g/daVinci.js/issues/90","repository_url":"https://api.github.com/repos/q2g/daVinci.js","labels_url":"https://api.github.com/repos/q2g/daVinci.js/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/q2g/daVinci.js/issues/90/comments","events_url":"https://api.github.com/repos/q2g/daVinci.js/issues/90/events","html_url":"https://github.com/q2g/daVinci.js/issues/90","id":334463138,"node_id":"MDU6SXNzdWUzMzQ0NjMxMzg=","number":90,"title":"Util Loggin LogLevel could not be updated","user":{"login":"r-hannuschka","id":25415574,"node_id":"MDQ6VXNlcjI1NDE1NTc0","avatar_url":"https://avatars3.githubusercontent.com/u/25415574?v=4","gravatar_id":"","url":"https://api.github.com/users/r-hannuschka","html_url":"https://github.com/r-hannuschka","followers_url":"https://api.github.com/users/r-hannuschka/followers","following_url":"https://api.github.com/users/r-hannuschka/following{/other_user}","gists_url":"https://api.github.com/users/r-hannuschka/gists{/gist_id}","starred_url":"https://api.github.com/users/r-hannuschka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-hannuschka/subscriptions","organizations_url":"https://api.github.com/users/r-hannuschka/orgs","repos_url":"https://api.github.com/users/r-hannuschka/repos","events_url":"https://api.github.com/users/r-hannuschka/events{/privacy}","received_events_url":"https://api.github.com/users/r-hannuschka/received_events","type":"User","site_admin":false},"labels":[{"id":654870370,"node_id":"MDU6TGFiZWw2NTQ4NzAzNzA=","url":"https://api.github.com/repos/q2g/daVinci.js/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"r-hannuschka","id":25415574,"node_id":"MDQ6VXNlcjI1NDE1NTc0","avatar_url":"https://avatars3.githubusercontent.com/u/25415574?v=4","gravatar_id":"","url":"https://api.github.com/users/r-hannuschka","html_url":"https://github.com/r-hannuschka","followers_url":"https://api.github.com/users/r-hannuschka/followers","following_url":"https://api.github.com/users/r-hannuschka/following{/other_user}","gists_url":"https://api.github.com/users/r-hannuschka/gists{/gist_id}","starred_url":"https://api.github.com/users/r-hannuschka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-hannuschka/subscriptions","organizations_url":"https://api.github.com/users/r-hannuschka/orgs","repos_url":"https://api.github.com/users/r-hannuschka/repos","events_url":"https://api.github.com/users/r-hannuschka/events{/privacy}","received_events_url":"https://api.github.com/users/r-hannuschka/received_events","type":"User","site_admin":false},"assignees":[{"login":"r-hannuschka","id":25415574,"node_id":"MDQ6VXNlcjI1NDE1NTc0","avatar_url":"https://avatars3.githubusercontent.com/u/25415574?v=4","gravatar_id":"","url":"https://api.github.com/users/r-hannuschka","html_url":"https://github.com/r-hannuschka","followers_url":"https://api.github.com/users/r-hannuschka/followers","following_url":"https://api.github.com/users/r-hannuschka/following{/other_user}","gists_url":"https://api.github.com/users/r-hannuschka/gists{/gist_id}","starred_url":"https://api.github.com/users/r-hannuschka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-hannuschka/subscriptions","organizations_url":"https://api.github.com/users/r-hannuschka/orgs","repos_url":"https://api.github.com/users/r-hannuschka/repos","events_url":"https://api.github.com/users/r-hannuschka/events{/privacy}","received_events_url":"https://api.github.com/users/r-hannuschka/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/q2g/daVinci.js/milestones/2","html_url":"https://github.com/q2g/daVinci.js/milestone/2","labels_url":"https://api.github.com/repos/q2g/daVinci.js/milestones/2/labels","id":3568007,"node_id":"MDk6TWlsZXN0b25lMzU2ODAwNw==","number":2,"title":"release 1.4.6","description":"","creator":{"login":"r-hannuschka","id":25415574,"node_id":"MDQ6VXNlcjI1NDE1NTc0","avatar_url":"https://avatars3.githubusercontent.com/u/25415574?v=4","gravatar_id":"","url":"https://api.github.com/users/r-hannuschka","html_url":"https://github.com/r-hannuschka","followers_url":"https://api.github.com/users/r-hannuschka/followers","following_url":"https://api.github.com/users/r-hannuschka/following{/other_user}","gists_url":"https://api.github.com/users/r-hannuschka/gists{/gist_id}","starred_url":"https://api.github.com/users/r-hannuschka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-hannuschka/subscriptions","organizations_url":"https://api.github.com/users/r-hannuschka/orgs","repos_url":"https://api.github.com/users/r-hannuschka/repos","events_url":"https://api.github.com/users/r-hannuschka/events{/privacy}","received_events_url":"https://api.github.com/users/r-hannuschka/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":5,"state":"open","created_at":"2018-08-14T08:38:30Z","updated_at":"2018-08-17T14:26:26Z","due_on":"2018-08-31T07:00:00Z","closed_at":null},"comments":4,"created_at":"2018-06-21T12:05:08Z","updated_at":"2018-08-17T18:07:59Z","closed_at":"2018-08-16T08:36:30Z","author_association":"CONTRIBUTOR","body":"It's not possible to update / change a logging level for a Class only the initial value is used.\r\n\r\n```\r\nconst logger = new Logger('MySpace');\r\n\r\n// set logging level to warnings ( error, fatal ) no debug messages\r\nlogging.setLogLevel('MySpace', logging.LogLevel.warn);\r\nlogger.logError('oh no an error occoured'); // works\r\n\r\n// update logging level to get debug messages\r\nlogging.setLogLevel('MySpace', logging.LogLevel.debug);\r\nlogger.debug('my value is nice');\r\n```\r\n\r\nExpected: \r\n   warning message is displayed into console\r\n   debug message \"my value is nice\" is displayed into console\r\n\r\nWhat happens: \r\n  only warning message will be displayed\r\n\r\nIt is explained very simple, since setLogLevel only pushes a new value into an Array so we have multiple log Levels for same class in 1 Array, but on the other side if he try to get a log level for a key he returns the first value we have set.  \r\n\r\nThe initial value determines what can be logged."},"comment":{"url":"https://api.github.com/repos/q2g/daVinci.js/issues/comments/413945859","html_url":"https://github.com/q2g/daVinci.js/issues/90#issuecomment-413945859","issue_url":"https://api.github.com/repos/q2g/daVinci.js/issues/90","id":413945859,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzk0NTg1OQ==","user":{"login":"r-hannuschka","id":25415574,"node_id":"MDQ6VXNlcjI1NDE1NTc0","avatar_url":"https://avatars3.githubusercontent.com/u/25415574?v=4","gravatar_id":"","url":"https://api.github.com/users/r-hannuschka","html_url":"https://github.com/r-hannuschka","followers_url":"https://api.github.com/users/r-hannuschka/followers","following_url":"https://api.github.com/users/r-hannuschka/following{/other_user}","gists_url":"https://api.github.com/users/r-hannuschka/gists{/gist_id}","starred_url":"https://api.github.com/users/r-hannuschka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-hannuschka/subscriptions","organizations_url":"https://api.github.com/users/r-hannuschka/orgs","repos_url":"https://api.github.com/users/r-hannuschka/repos","events_url":"https://api.github.com/users/r-hannuschka/events{/privacy}","received_events_url":"https://api.github.com/users/r-hannuschka/received_events","type":"User","site_admin":false},"created_at":"2018-08-17T18:07:59Z","updated_at":"2018-08-17T18:07:59Z","author_association":"CONTRIBUTOR","body":"added unit tests, test it directly and it was working for me ;)"}}
{"actor":{"display_login":"r-hannuschka"}}