{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/6324","labels_url":"https://api.github.com/repos/angular/angular/issues/6324/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/6324/comments","events_url":"https://api.github.com/repos/angular/angular/issues/6324/events","html_url":"https://github.com/angular/angular/issues/6324","id":125406302,"number":6324,"title":"[prodMode] Is there any simple way to disable log for production environment? ","user":{"login":"wkwiatek","id":3719897,"avatar_url":"https://avatars.githubusercontent.com/u/3719897?v=3","gravatar_id":"","url":"https://api.github.com/users/wkwiatek","html_url":"https://github.com/wkwiatek","followers_url":"https://api.github.com/users/wkwiatek/followers","following_url":"https://api.github.com/users/wkwiatek/following{/other_user}","gists_url":"https://api.github.com/users/wkwiatek/gists{/gist_id}","starred_url":"https://api.github.com/users/wkwiatek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkwiatek/subscriptions","organizations_url":"https://api.github.com/users/wkwiatek/orgs","repos_url":"https://api.github.com/users/wkwiatek/repos","events_url":"https://api.github.com/users/wkwiatek/events{/privacy}","received_events_url":"https://api.github.com/users/wkwiatek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-07T14:40:32Z","updated_at":"2016-01-20T14:16:26Z","closed_at":null,"body":"Currently there is a log message depending on `enableProdMode()` function being called which ends up with following log in prod mode: \r\n```\r\nAngular 2 is running in the production mode. Call enableDevMode() to enable the development mode.\r\n```\r\nHow can I prevent Angular from logging such a message? "},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/173215968","html_url":"https://github.com/angular/angular/issues/6324#issuecomment-173215968","issue_url":"https://api.github.com/repos/angular/angular/issues/6324","id":173215968,"user":{"login":"wkwiatek","id":3719897,"avatar_url":"https://avatars.githubusercontent.com/u/3719897?v=3","gravatar_id":"","url":"https://api.github.com/users/wkwiatek","html_url":"https://github.com/wkwiatek","followers_url":"https://api.github.com/users/wkwiatek/followers","following_url":"https://api.github.com/users/wkwiatek/following{/other_user}","gists_url":"https://api.github.com/users/wkwiatek/gists{/gist_id}","starred_url":"https://api.github.com/users/wkwiatek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkwiatek/subscriptions","organizations_url":"https://api.github.com/users/wkwiatek/orgs","repos_url":"https://api.github.com/users/wkwiatek/repos","events_url":"https://api.github.com/users/wkwiatek/events{/privacy}","received_events_url":"https://api.github.com/users/wkwiatek/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T14:16:26Z","updated_at":"2016-01-20T14:16:26Z","body":"It's not really the same. I'd like to have a clear console in prod mode and the issue you refer to is about misleading text."}}