Exemple #1
0
 /**
  * Get the default log file fall-back when no file is explicitly specified.
  * @param  string $file
  * @return string
  */
 public function getFallbackFile($file)
 {
     if (empty($file)) {
         $file = $this->_config->getSystemLogFile();
     }
     return empty($file) ? static::DEFAULT_LOG_FILE : $file;
 }