mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +02:00
Add getStream to the StreamHandler
This commit is contained in:
@@ -65,6 +65,16 @@ class StreamHandler extends AbstractProcessingHandler
|
|||||||
$this->stream = null;
|
$this->stream = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the currently active stream if it is open
|
||||||
|
*
|
||||||
|
* @return resource|null
|
||||||
|
*/
|
||||||
|
public function getStream()
|
||||||
|
{
|
||||||
|
return $this->stream;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user