BuildLogger.prototype.error = function() {
  log.error.apply(log, arguments)
  writeToLogFile.apply(this.logFile, arguments)
}