{"action":"created","issue":{"url":"https://api.github.com/repos/antlr4ide/antlr4ide/issues/167","repository_url":"https://api.github.com/repos/antlr4ide/antlr4ide","labels_url":"https://api.github.com/repos/antlr4ide/antlr4ide/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/antlr4ide/antlr4ide/issues/167/comments","events_url":"https://api.github.com/repos/antlr4ide/antlr4ide/issues/167/events","html_url":"https://github.com/antlr4ide/antlr4ide/pull/167","id":190593859,"number":167,"title":"support for console log-levels","user":{"login":"timeraider4u","id":13469005,"avatar_url":"https://avatars.githubusercontent.com/u/13469005?v=3","gravatar_id":"","url":"https://api.github.com/users/timeraider4u","html_url":"https://github.com/timeraider4u","followers_url":"https://api.github.com/users/timeraider4u/followers","following_url":"https://api.github.com/users/timeraider4u/following{/other_user}","gists_url":"https://api.github.com/users/timeraider4u/gists{/gist_id}","starred_url":"https://api.github.com/users/timeraider4u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timeraider4u/subscriptions","organizations_url":"https://api.github.com/users/timeraider4u/orgs","repos_url":"https://api.github.com/users/timeraider4u/repos","events_url":"https://api.github.com/users/timeraider4u/events{/privacy}","received_events_url":"https://api.github.com/users/timeraider4u/received_events","type":"User","site_admin":false},"labels":[{"id":74985022,"url":"https://api.github.com/repos/antlr4ide/antlr4ide/labels/new%20feature","name":"new feature","color":"009800","default":false}],"state":"closed","locked":false,"assignee":{"login":"timeraider4u","id":13469005,"avatar_url":"https://avatars.githubusercontent.com/u/13469005?v=3","gravatar_id":"","url":"https://api.github.com/users/timeraider4u","html_url":"https://github.com/timeraider4u","followers_url":"https://api.github.com/users/timeraider4u/followers","following_url":"https://api.github.com/users/timeraider4u/following{/other_user}","gists_url":"https://api.github.com/users/timeraider4u/gists{/gist_id}","starred_url":"https://api.github.com/users/timeraider4u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timeraider4u/subscriptions","organizations_url":"https://api.github.com/users/timeraider4u/orgs","repos_url":"https://api.github.com/users/timeraider4u/repos","events_url":"https://api.github.com/users/timeraider4u/events{/privacy}","received_events_url":"https://api.github.com/users/timeraider4u/received_events","type":"User","site_admin":false},"assignees":[{"login":"timeraider4u","id":13469005,"avatar_url":"https://avatars.githubusercontent.com/u/13469005?v=3","gravatar_id":"","url":"https://api.github.com/users/timeraider4u","html_url":"https://github.com/timeraider4u","followers_url":"https://api.github.com/users/timeraider4u/followers","following_url":"https://api.github.com/users/timeraider4u/following{/other_user}","gists_url":"https://api.github.com/users/timeraider4u/gists{/gist_id}","starred_url":"https://api.github.com/users/timeraider4u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timeraider4u/subscriptions","organizations_url":"https://api.github.com/users/timeraider4u/orgs","repos_url":"https://api.github.com/users/timeraider4u/repos","events_url":"https://api.github.com/users/timeraider4u/events{/privacy}","received_events_url":"https://api.github.com/users/timeraider4u/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-11-20T23:57:39Z","updated_at":"2016-11-28T21:07:30Z","closed_at":"2016-11-28T21:07:29Z","pull_request":{"url":"https://api.github.com/repos/antlr4ide/antlr4ide/pulls/167","html_url":"https://github.com/antlr4ide/antlr4ide/pull/167","diff_url":"https://github.com/antlr4ide/antlr4ide/pull/167.diff","patch_url":"https://github.com/antlr4ide/antlr4ide/pull/167.patch"},"body":"with these code changes it is possible to write log messages with different severity levels to a console. The log-level of the console can be configured at runtime through eclipse preferences under Window->Preferences->ANTLR4->General->Log-Level. Therefore, the need to set a boolean variable/constant to true or false at compile time is not necessary any more. The console can be injected in ALL Java or Xtend classes of the UI-module:\r\n`@Inject Console console;` and used with, e.g., `console.debug(\"some message with value='%s'\", someVar);`\r\n![prefs](https://cloud.githubusercontent.com/assets/13469005/20467281/dc6b55f0-af84-11e6-8f75-2e9ff8b0a1aa.jpeg)\r\n"},"comment":{"url":"https://api.github.com/repos/antlr4ide/antlr4ide/issues/comments/263394480","html_url":"https://github.com/antlr4ide/antlr4ide/pull/167#issuecomment-263394480","issue_url":"https://api.github.com/repos/antlr4ide/antlr4ide/issues/167","id":263394480,"user":{"login":"timeraider4u","id":13469005,"avatar_url":"https://avatars.githubusercontent.com/u/13469005?v=3","gravatar_id":"","url":"https://api.github.com/users/timeraider4u","html_url":"https://github.com/timeraider4u","followers_url":"https://api.github.com/users/timeraider4u/followers","following_url":"https://api.github.com/users/timeraider4u/following{/other_user}","gists_url":"https://api.github.com/users/timeraider4u/gists{/gist_id}","starred_url":"https://api.github.com/users/timeraider4u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timeraider4u/subscriptions","organizations_url":"https://api.github.com/users/timeraider4u/orgs","repos_url":"https://api.github.com/users/timeraider4u/repos","events_url":"https://api.github.com/users/timeraider4u/events{/privacy}","received_events_url":"https://api.github.com/users/timeraider4u/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T21:07:29Z","updated_at":"2016-11-28T21:07:29Z","body":"please do not merge - as I am currently working on implementing the same functionality with log4j - version 1.2.17 - but there are still some issues which I have to resolve locally before I can create a pull request\r\n\r\nI will close this pull request now!"}}
{"actor":{"display_login":"timeraider4u"}}