Fix LogLevel::DEBUG as min level
This commit is contained in:
parent
3c3d642a19
commit
e0d8ce4403
@ -39,7 +39,7 @@ class Logger extends AbstractLogger
|
||||
|
||||
public function __construct($minLevel = null, $output = 'php://stderr', callable $formatter = null)
|
||||
{
|
||||
if (!$minLevel) {
|
||||
if (null === $minLevel) {
|
||||
$minLevel = LogLevel::WARNING;
|
||||
|
||||
if (isset($_SERVER['SHELL_VERBOSITY'])) {
|
||||
|
Reference in New Issue
Block a user