RoomioDiagnostic
A message about a scan, for your own logging or crash reporting.
struct RoomioDiagnostic
code
A stable identifier, for example "tracking_lost". New codes may be added in future releases, so include a default case when you switch on them.
let code: String
level
How serious it is.
let level: RoomioDiagnosticLevel
message
A short description, for logs rather than for users.
let message: String
scanId
The scan it belongs to. Quote it when contacting Roomio about a scan. Nil before a scan starts.
let scanId: String?
timestamp
When it happened.
let timestamp: Date