src/Ease/Logger/ToFile.php
public function renameLogFile($newLogFileName)
    {
        $newLogFileName = dirname($this->logFileName).'/'.basename($newLogFileName);
        if (rename($this->logFileName, $newLogFileName)) {
            return realpath($newLogFileName);
        } else {
            return realpath($this->logFileName);
        }
    }
public function renameLogFile($newLogFileName)
    {
        $newLogFileName = dirname($this->logFileName).'/'.basename($newLogFileName);
        if (rename($this->logFileName, $newLogFileName)) {
            return realpath($newLogFileName);
        } else {
            return realpath($this->logFileName);
        }
    }
Přejmenuje soubor s logem.

@param string $newLogFileName new log filename

@return string