[v3] Use system logger instead of println

This commit is contained in:
Lea Anthony
2023-08-28 20:30:40 +10:00
parent 6edd667bdf
commit d44c8eba1c
9 changed files with 13 additions and 16 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func (kvs *KeyValueStore) Shutdown() {
if kvs.unsaved {
err := kvs.Save()
if err != nil {
println("Error saving store: " + err.Error())
application.Get().Logger.Error("Error saving store: " + err.Error())
}
}
}