|
From: | Amr Aboelela |
Subject: | Re: NSLog suggestion |
Date: | Fri, 27 Feb 2015 17:21:32 -0800 |
DLog in Apple environment is now almost a standard, which is defined as:
# define DLog(fmt, ...) {NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);}
and it prints:
2015-02-27 17:07:56.973 <app name>[<process-id>:<thread-id>]
Which means it DOES print the thread id along with the process-id, while in GNUstep it doesn't. Hence came my suggestion.
[Prev in Thread] | Current Thread | [Next in Thread] |