2
0
Jordi Boggiano 9 жил өмнө
parent
commit
788902b320

+ 10 - 0
src/Monolog/Handler/StreamHandler.php

@@ -75,6 +75,16 @@ class StreamHandler extends AbstractProcessingHandler
         return $this->stream;
     }
 
+    /**
+     * Return the stream URL if it was configured with a URL and not an active resource
+     *
+     * @return string|null
+     */
+    public function getUrl()
+    {
+        return $this->url;
+    }
+
     /**
      * {@inheritdoc}
      */