code: protected static function setPath($writePath)
    {
      if (is_file($writePath)) {
        self::$logFilePath = $writePath;
        return true;
      }
      throw new \Exception('Impossible de modifier la destination des logs : le fichier '.$writePath.' n\'existe pas.');
      return false;
    }
docs: Modifie la destination des logs
  
  @param  string $writePath
  @return boolean
  @throws \Exception