fromNameOrNull

fun fromNameOrNull(serialName: String): LogLevel?

Find the enum member by the serial name or return null.