{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/16948","labels_url":"https://api.github.com/repos/symfony/symfony/issues/16948/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/16948/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/16948/events","html_url":"https://github.com/symfony/symfony/issues/16948","id":121508682,"number":16948,"title":"[Console] SymfonyStyle doesn't count with messages of different verbosity levels","user":{"login":"Revisor","id":550341,"avatar_url":"https://avatars.githubusercontent.com/u/550341?v=3","gravatar_id":"","url":"https://api.github.com/users/Revisor","html_url":"https://github.com/Revisor","followers_url":"https://api.github.com/users/Revisor/followers","following_url":"https://api.github.com/users/Revisor/following{/other_user}","gists_url":"https://api.github.com/users/Revisor/gists{/gist_id}","starred_url":"https://api.github.com/users/Revisor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Revisor/subscriptions","organizations_url":"https://api.github.com/users/Revisor/orgs","repos_url":"https://api.github.com/users/Revisor/repos","events_url":"https://api.github.com/users/Revisor/events{/privacy}","received_events_url":"https://api.github.com/users/Revisor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-10T15:17:42Z","updated_at":"2015-12-10T16:47:27Z","closed_at":null,"body":"While `OutputInterface::write()` accounts for messages of different verbosity levels in its argument `$options`, the new `SymfonyStyle` considers each message to be of the default verbosity (`OutputInterface::VERBOSITY_NORMAL`).\r\n\r\nWe are going to circumvent this by creating two instances of `SymfonyStyle` on the fly, one loud and one quiet, depending on the current verbosity.\r\n\r\nIt would be however useful if we could indicate message verbosity directly in `SymfonyStyle`."},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/163684062","html_url":"https://github.com/symfony/symfony/issues/16948#issuecomment-163684062","issue_url":"https://api.github.com/repos/symfony/symfony/issues/16948","id":163684062,"user":{"login":"javiereguiluz","id":73419,"avatar_url":"https://avatars.githubusercontent.com/u/73419?v=3","gravatar_id":"","url":"https://api.github.com/users/javiereguiluz","html_url":"https://github.com/javiereguiluz","followers_url":"https://api.github.com/users/javiereguiluz/followers","following_url":"https://api.github.com/users/javiereguiluz/following{/other_user}","gists_url":"https://api.github.com/users/javiereguiluz/gists{/gist_id}","starred_url":"https://api.github.com/users/javiereguiluz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javiereguiluz/subscriptions","organizations_url":"https://api.github.com/users/javiereguiluz/orgs","repos_url":"https://api.github.com/users/javiereguiluz/repos","events_url":"https://api.github.com/users/javiereguiluz/events{/privacy}","received_events_url":"https://api.github.com/users/javiereguiluz/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T16:47:27Z","updated_at":"2015-12-10T16:47:27Z","body":"I'm not sure about mixing the styling with the verbosity handling. In the built-in Symfony commands we separate both. For example: https://github.com/symfony/symfony/blob/2.8/src/Symfony/Bridge/Twig/Command/LintCommand.php#L178-L180"}}