src/Library/Logger.php
protected function getRotator($filename)
    {
        if (!array_key_exists($filename, self::$rotators)) {
            self::$rotators[$filename] = new FileRotator(
                $filename, FileRotator::ROTATE_PERIODIC, $this->rotator
            );
        }
        return self::$rotators[$filename];
    }
protected function getRotator($filename)
    {
        if (!array_key_exists($filename, self::$rotators)) {
            self::$rotators[$filename] = new FileRotator(
                $filename, FileRotator::ROTATE_PERIODIC, $this->rotator
            );
        }
        return self::$rotators[$filename];
    }
protected function getRotator ( $ filename ) { if ( ! array_key_exists ( $ filename , self :: $ rotators ) ) { self :: $ rotators [ $ filename ] = new FileRotator ( $ filename , FileRotator :: ROTATE_PERIODIC , $ this -> rotator ) ; } return self :: $ rotators [ $ filename ] ; }
Get a rotator for a specific logfile

@param   string  $filename   The name (full path) of the concerned logfile
@return  \Library\Tool\FileRotator
Get a rotator for a specific logfile