Improved logging.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5139 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-11-07 14:50:30 +00:00
parent a8ce0b2efb
commit 7de0bc66f0
7 changed files with 75 additions and 11 deletions

View file

@ -28,6 +28,7 @@
#include <base/behavior.h>
#include <Foundation/NSException.h>
#include <Foundation/NSPortCoder.h>
#include <Foundation/NSDebug.h>
static SEL eqSel = @selector(isEqual:);
@ -425,7 +426,7 @@ static SEL eqSel = @selector(isEqual:);
if (anObject == nil)
{
NSLog(@"attempt to remove nil object");
NSWarnMLog(@"attempt to remove nil object", 0);
return;
}
index = _count;
@ -480,7 +481,7 @@ static SEL eqSel = @selector(isEqual:);
if (anObject == nil)
{
NSLog(@"attempt to remove nil object");
NSWarnMLog(@"attempt to remove nil object", 0);
return;
}
index = _count;