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