git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18181 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mguesdon 2003-11-24 12:10:21 +00:00
parent ce706211bf
commit 3cd2aaf501
3 changed files with 23 additions and 14 deletions

View file

@ -182,13 +182,13 @@ extern void GSWLogAssertGoodFn(CONST char* file,int line,NSObject* object);
NSLog(@"%@",fmt2); }} while (0)
#define LOGException(format, args...) \
do { if (GSDebugSet(@"exception") == YES) { \
do { /*if (GSDebugSet(@"exception") == YES)*/ { \
NSString *fmt = GSDebugFunctionMsg(__PRETTY_FUNCTION__, __FILE__, __LINE__,format); \
NSString *fmt2 = [NSString stringWithFormat:@"*EXCEPTION*: %@",fmt]; \
NSLog(fmt2, ## args); }} while (0)
#define LOGException0(format) \
do { if (GSDebugSet(@"exception") == YES) { \
do { /*if (GSDebugSet(@"exception") == YES)*/ { \
NSString *fmt = GSDebugFunctionMsg(__PRETTY_FUNCTION__, __FILE__, __LINE__,format); \
NSString *fmt2 = [NSString stringWithFormat:@"*EXCEPTION*: %@",fmt]; \
NSLog(@"%@",fmt2); }} while (0)