1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 20:57:36 +02:00

Add getStream to the StreamHandler

This commit is contained in:
Jordi Boggiano
2016-04-12 19:29:25 +01:00
parent f56f2969f7
commit a3f7c4a147

View File

@@ -65,6 +65,16 @@ class StreamHandler extends AbstractProcessingHandler
$this->stream = null;
}
/**
* Return the currently active stream if it is open
*
* @return resource|null
*/
public function getStream()
{
return $this->stream;
}
/**
* {@inheritdoc}
*/