diff --git a/src/Monolog/Handler/RotatingFileHandler.php b/src/Monolog/Handler/RotatingFileHandler.php index 8df1692c..bf7ef1a8 100644 --- a/src/Monolog/Handler/RotatingFileHandler.php +++ b/src/Monolog/Handler/RotatingFileHandler.php @@ -60,6 +60,12 @@ class RotatingFileHandler extends StreamHandler } } + public function setTimedFilename($filenameFormat, $dateFormat) + { + $this->filenameFormat = $filenameFormat; + $this->dateFormat = $dateFormat; + } + /** * {@inheritdoc} */ @@ -140,10 +146,4 @@ class RotatingFileHandler extends StreamHandler return $glob; } - - public function setTimedFilename($filenameFormat, $dateFormat) - { - $this->filenameFormat = $filenameFormat; - $this->dateFormat = $dateFormat; - } }