function sql_log(sql, vs) {
  if (log_sql_enabled)
    if (typeof vs === "undefined") console.log(sql);
    else console.log(sql, vs);
}
Log SQL statement to console
@param {string} sql - SQL statement
@param {object} [vs] - any additional parameter