[Console] Handle new verbosity levels
This commit is contained in:
parent
e639686ad5
commit
54c1377a33
|
@ -96,7 +96,7 @@ EOF
|
|||
$builder->setWorkingDirectory($input->getOption('docroot'));
|
||||
$builder->setTimeout(null);
|
||||
$builder->getProcess()->run(function ($type, $buffer) use ($output) {
|
||||
if (OutputInterface::VERBOSITY_VERBOSE === $output->getVerbosity()) {
|
||||
if (OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
|
||||
$output->write($buffer);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -770,7 +770,7 @@ class Application
|
|||
$output->writeln("");
|
||||
$output->writeln("");
|
||||
|
||||
if (OutputInterface::VERBOSITY_VERBOSE === $output->getVerbosity()) {
|
||||
if (OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
|
||||
$output->writeln('<comment>Exception trace:</comment>');
|
||||
|
||||
// exception related properties
|
||||
|
|
|
@ -196,6 +196,8 @@ class ProgressHelper extends Helper
|
|||
}
|
||||
break;
|
||||
case OutputInterface::VERBOSITY_VERBOSE:
|
||||
case OutputInterface::VERBOSITY_VERY_VERBOSE:
|
||||
case OutputInterface::VERBOSITY_DEBUG:
|
||||
$this->format = self::FORMAT_VERBOSE_NOMAX;
|
||||
if ($this->max > 0) {
|
||||
$this->format = self::FORMAT_VERBOSE;
|
||||
|
|
Reference in New Issue