getSeverity method

BurtLogLevel getSeverity(
  1. Device device
)

Gets the highest severity the given device emitted.

Implementation

BurtLogLevel getSeverity(Device device) => models.logs.deviceSeverity[device] ?? BurtLogLevel.info;