Skip to content

Commit 96d0eb0

Browse files
committed
can't use constant, not in CLI
1 parent 15ead0b commit 96d0eb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/StdOutLogger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class StdOutLogger extends ErrorLogLogger
1414
public function __construct($maxLevel = LogLevel::DEBUG)
1515
{
1616
parent::__construct($maxLevel);
17-
$this->setHandle(STDOUT);
17+
$this->setHandle(fopen('php://stdout', 'w'));
1818
}
1919

2020
public function setHandle($handle)

0 commit comments

Comments
 (0)