setSeverity

@JvmName(name = "setSeverity")
fun setSeverity(int: Int): MutableDiagnostic

Set the severity level using the native ordinal integer representing a given enumerated value.

Return

This diagnostic instance

Parameters

int

Ordinal integer of the severity level