mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-01 04:07:53 +08:00
ios: Print the arguments in a prettier manner
This commit is contained in:
@ -27,10 +27,10 @@ NSString* GetDirectoryOfType(NSSearchPathDirectory dir) {
|
||||
NSString *method = [call method];
|
||||
NSDictionary *arguments = [call arguments];
|
||||
|
||||
NSLog(@"Called %@ with args - ", method);
|
||||
NSLog(@"Called %@", method);
|
||||
if (arguments != nil) {
|
||||
for (NSString *key in [arguments allKeys]) {
|
||||
NSLog(@" %@: %@", key, [arguments objectForKey:key]);
|
||||
NSLog(@". %@: %@", key, [arguments objectForKey:key]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user