mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 14:25:41 +08:00
Fix debug mode and verbosity relation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user