@ -470,6 +470,7 @@ public class StoreCenter {
/// Logs a message in the logs collection
public func log(message: String) {
DispatchQueue.main.async {
let log = Log(message: message)
do {
try self._logsCollection().addOrUpdate(instance: log)
@ -477,6 +478,7 @@ public class StoreCenter {
Logger.error(error)
}
// MARK: - Migration