ObjectBox
This commit is contained in:
1 parent
e548f62bde
commit
f8317be627
60 files changed
+2367
-15049
No files matched your search
+3
-4
@@ -93,11 +93,10 @@ class Util {
|
||||
var logEntry = LogEntry();
|
||||
logEntry.time = DateTime.now();
|
||||
logEntry.text = text;
|
||||
logEntry.severity = severity;
|
||||
logEntry.severityEnum = severity;
|
||||
|
||||
await MyApp.isarInstance.writeTxn(() async {
|
||||
await MyApp.isarInstance.logEntrys.put(logEntry);
|
||||
});
|
||||
final box = MyApp.objectBoxStore.box<LogEntry>();
|
||||
box.put(logEntry);
|
||||
}
|
||||
|
||||
static logInfo(String message) {
|
||||
|
||||
Reference in new issue
Block a user