ios: Print the arguments in a prettier manner

This commit is contained in:
Vishesh Handa
2019-05-30 18:28:39 +02:00
parent 0ad3040943
commit 840ac30116

View File

@ -27,10 +27,10 @@ NSString* GetDirectoryOfType(NSSearchPathDirectory dir) {
NSString *method = [call method]; NSString *method = [call method];
NSDictionary *arguments = [call arguments]; NSDictionary *arguments = [call arguments];
NSLog(@"Called %@ with args - ", method); NSLog(@"Called %@", method);
if (arguments != nil) { if (arguments != nil) {
for (NSString *key in [arguments allKeys]) { for (NSString *key in [arguments allKeys]) {
NSLog(@" %@: %@", key, [arguments objectForKey:key]); NSLog(@". %@: %@", key, [arguments objectForKey:key]);
} }
} }