code: func (op *triageOp) debugErrLog(c context.Context, err error, format string, args ...interface{}) {
  	if err == nil {
  		logging.Errorf(c, format, args...)
  		op.appendToLog(c, fmt.Sprintf("Error: "+format, args...))
  	} else {
  		logging.WithError(err).Errorf(c, format, args...)
  		op.appendToLog(c, fmt.Sprintf("Error: "+format+" - %s", append(args, err)...))
  	}
  }
docs: // debugErrLog adds a line to the triage debug log and Errorf log.