Update LogManager.swift

This commit is contained in:
neoarz 2025-03-29 11:13:50 -04:00 • committed by GitHub
parent 59221a2e16
commit ef75937482
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,7 @@ class LogManager: ObservableObject {
}
func addLog(message: String, type: LogEntry.LogType) {
// Remove redundant prefixes from the message
//clean dumb stuff
var cleanMessage = message
// Clean up common prefixes that match the log type
@ -88,4 +88,4 @@ class LogManager: ObservableObject {
self.errorCount = 0
}
}
}
}