bin/bpmnlint.js
function tableEntry(report) {
  const category = report.category;

  const color = category === 'error' ? red : yellow;

  return [ report.id || '', color(categoryMap[category] || category), report.message, report.name || '' ];
}
function tableEntry(report) {
  const category = report.category;

  const color = category === 'error' ? red : yellow;

  return [ report.id || '', color(categoryMap[category] || category), report.message, report.name || '' ];
}
function tableEntry ( report ) { const category = report . category ; const color = category === 'error' ? red : yellow ; return [ report . id || '' , color ( categoryMap [ category ] || category ) , report . message , report . name || '' ] ; }
Logs a formatted  message
Logs a formatted message