Skip to content

Commit

Permalink
Fix LogLevel::DEBUG as min level
Browse files Browse the repository at this point in the history
  • Loading branch information
damner authored and fabpot committed Oct 12, 2017
1 parent 3c3d642 commit e0d8ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/Log/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'])) {
Expand Down

0 comments on commit e0d8ce4

Please sign in to comment.