severity

fun severity(level: Severity)(source)

Severity for a match. ERROR (default) fails the build; WARNING only reports.