NSLogv(NSString* format, va_list args)
...
/*prefix = [NSString
stringWithFormat: @"%@ %@[%d] ",
[[NSCalendarDate calendarDate]
descriptionWithCalendarFormat: @"%Y-%m-%d
%H:%M:%S.%F"],
[[NSProcessInfo processInfo] processName],
pid];*/
prefix = [NSString
stringWithFormat: @"%@ %@[%d-%x] ",
[[NSCalendarDate calendarDate]
descriptionWithCalendarFormat: @"%M:%S.%F"],
[[NSProcessInfo processInfo] processName],
pid, (unsigned int)pthread_self()];
...
}
Instead of printing today date and hour which is useless for a developer,
print the current thread id: (unsigned int)pthread_self()
--
Info about Islam: http://wikiz.info/islam
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep