Skip to content

Commit 5a88a86

Browse files
committed
fix: log bubbling compat between v2 and v3
1 parent a80e00b commit 5a88a86

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Handler/Stdout.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ class Stdout extends StreamHandler
1717
*/
1818
private $deploymentConfig;
1919

20-
/**
21-
* Log stack bubbling
22-
* See: https://github.com/Seldaek/monolog
23-
*
24-
* We disable bubbling as this logger should be the only logger.
25-
*/
26-
protected $bubble = false;
27-
2820
/**
2921
* @var int
3022
*/
@@ -36,6 +28,14 @@ class Stdout extends StreamHandler
3628
*/
3729
public function __construct(DeploymentConfig $deploymentConfig)
3830
{
31+
/**
32+
* Log stack bubbling
33+
* See: https://github.com/Seldaek/monolog
34+
*
35+
* We disable bubbling as this logger should be the only logger.
36+
*/
37+
$this->bubble = false;
38+
3939
$this->deploymentConfig = $deploymentConfig;
4040

4141
if ($this->deploymentConfig->isAvailable() && $this->isDebugLoggingEnabled()) {

0 commit comments

Comments
 (0)