update message log and strings file
This commit is contained in:
parent
eb569eecc1
commit
a2933ec175
Binary file not shown.
|
@ -330,12 +330,9 @@
|
|||
level = @"";
|
||||
}
|
||||
|
||||
NSString * fileString, * file = [message objectForKey: @"File"];
|
||||
if ((file = [message objectForKey: @"File"]))
|
||||
fileString = [NSString stringWithFormat: @" %@:%d", [message objectForKey: @"File"],
|
||||
[[message objectForKey: @"Line"] intValue]];
|
||||
else
|
||||
fileString = @"";
|
||||
NSString * file = [message objectForKey: @"File"],
|
||||
* fileString = file ? [NSString stringWithFormat: @" %@:%@", [message objectForKey: @"File"], [message objectForKey: @"Line"]]
|
||||
: @"";
|
||||
|
||||
return [NSString stringWithFormat: @"%@%@ [%@] %@", [message objectForKey: @"Date"], fileString, level,
|
||||
[message objectForKey: @"Message"]];
|
||||
|
|
Loading…
Reference in New Issue