docs: function getLogPath(rootPath, buildPath, logPath) {
      let result = logPath || path.join(buildPath, 'logs');
  
      if (!path.isAbsolute(result)) {
          result = path.resolve(rootPath, result);
      }
  
      return result;
  }