mobile-ios/CovidSafe/BLELogRecord.swift

24 lines
382 B
Swift
Raw Permalink Normal View History

2020-07-21 05:42:48 +00:00
//
// BLELogRecord.swift
// CovidSafe
//
// Copyright © 2020 Australian Government. All rights reserved.
//
import Foundation
struct BLELogRecord: Encodable {
var timestamp: Date?
var msg: String?
mutating func update(msg: String) {
self.msg = msg
}
init(message: String) {
self.timestamp = Date()
self.msg = message
}
}