"" * bar-2015-12-25.log --> "2015-12-25" * * @return string[] */ public function getVersions(); /** * Returns the path of a logfile. * * @param string $version * @return string */ public function getPath($version = ''); /** * Returns the content of a logfile. * * @param string $version * @return string */ public function getContent($version = ''); /** * Streams the content of a logfile. * * This methods returns a closure that echoes the output. * * @param string $version * @return Closure */ public function getContentStream($version = ''); /** * Clears the content of a logfile. * * @param string $version */ public function clear($version = ''); /** * Returns true if the logfile exists * * @param $version * @return bool */ public function versionExists($version); }