discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLog suggestion


From: Amr Aboelela
Subject: Re: NSLog suggestion
Date: Fri, 27 Feb 2015 17:21:32 -0800

Hi Richard,

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]