File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ You can also set these colors and options inside the tagname::
160
160
// bold text on a yellow background
161
161
$output->writeln('<bg=yellow;options=bold>foo</bg=yellow;options=bold>');
162
162
163
- Verbosity levels
163
+ Verbosity Levels
164
164
~~~~~~~~~~~~~~~~
165
165
166
166
The console has 3 levels of verbosity. These are defined in the
@@ -178,14 +178,21 @@ You can specify the quiet verbosity level with the ``--quiet`` or ``-q``
178
178
option. The ``--verbose `` or ``-v `` option is used when you want an increased
179
179
level of verbosity.
180
180
181
- It is possible to print messages in a command only for the according verbosity
181
+ .. tip ::
182
+
183
+ The full exception stacktrace is printed if the ``VERBOSITY_VERBOSE ``
184
+ level is used.
185
+
186
+ It is possible to print a message in a command for only a specific verbosity
182
187
level. For example::
183
188
184
189
if (OutputInterface::VERBOSITY_VERBOSE === $output->getVerbosity()) {
185
190
$output->writeln(...);
186
191
}
187
192
188
- Note that when the quiet level is used, all output is suppressed.
193
+ When the quiet level is used, all output is suppressed as the default
194
+ :method: `Symfony\C omponent\C onsole\O utput::write<Symfony\\ Component\\ Console\\ Output::write> `
195
+ method returns without actually printing.
189
196
190
197
Using Command Arguments
191
198
-----------------------
You can’t perform that action at this time.
0 commit comments