mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-05-30 16:50:52 +00:00
o logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18181 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ce706211bf
commit
3cd2aaf501
3 changed files with 23 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue