Convert remain NSLog statement to new logging framework

This commit is contained in:
ronaldheft 2022-09-13 21:16:55 -04:00
parent f8836be147
commit 7a68cc99af
No known key found for this signature in database
9 changed files with 95 additions and 80 deletions

View file

@ -59,7 +59,7 @@ extension CAPPluginCall {
let json = try JSONSerialization.data(withJSONObject: value)
return try JSONDecoder().decode(type, from: json)
} catch {
NSLog("Failed to get json for \(key)")
AppLogger().error("Failed to get json for \(key)")
debugPrint(error)
return nil
}