mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
Fix debug mode and verbosity relation
This commit is contained in:
parent
2080407283
commit
fe0b983f6c
@ -94,7 +94,7 @@ abstract class BaseCommand extends Command
|
||||
}
|
||||
|
||||
// Set debug mode in ApplicationContext
|
||||
$isDebug = $this->output->getVerbosity() >= OutputInterface::VERBOSITY_VERY_VERBOSE;
|
||||
$isDebug = $this->output->getVerbosity() >= OutputInterface::VERBOSITY_DEBUG;
|
||||
ApplicationContext::setDebug($isDebug);
|
||||
|
||||
// show raw argv list for logger()->debug
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user