Add OSLog Redacttion attributes

This commit is contained in:
Garth Vander Houwen 2025-03-31 22:06:00 -07:00
parent 0d647616e2
commit ea39adac26
46 changed files with 154 additions and 1181 deletions

View file

@ -357,7 +357,7 @@ struct MQTTConfig: View {
defaultTopic = "msh/" + (region?.topic ?? "UNSET")
geocoder.reverseGeocodeLocation(LocationsHandler.shared.locationsArray.first!, completionHandler: {(placemarks, error) in
if let error {
Logger.services.error("Failed to reverse geocode location: \(error.localizedDescription)")
Logger.services.error("Failed to reverse geocode location: \(error.localizedDescription, privacy: .public)")
return
}

View file

@ -117,7 +117,7 @@ struct StoreForwardConfig: View {
do {
try context.save()
} catch {
Logger.mesh.error("Failed to save isRouter: \(error.localizedDescription)")
Logger.mesh.error("Failed to save isRouter: \(error.localizedDescription, privacy: .public)")
}
}