diff --git a/ChangeLog b/ChangeLog index 7ea87c83f..e17b1ce9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-01-05 Fred Kiefer + + * Source/NSKeyValueObserving.m (-overrideSetterFor:): Only output + a NSDebugLLog() not an NSLog() when the class has no setter for + the key. + 2009-01-05 Fred Kiefer * Source/NSString.m (-paragraphRangeForRange:, diff --git a/Source/NSKeyValueObserving.m b/Source/NSKeyValueObserving.m index 8bd9c4e6e..0d46917e4 100644 --- a/Source/NSKeyValueObserving.m +++ b/Source/NSKeyValueObserving.m @@ -26,6 +26,7 @@ #include "GNUstepBase/preface.h" #import "Foundation/NSCharacterSet.h" +#import "Foundation/NSDebug.h" #import "Foundation/NSDictionary.h" #import "Foundation/NSEnumerator.h" #import "Foundation/NSException.h" @@ -585,7 +586,7 @@ replacementForClass(Class c) if (!found) { - NSLog(@"class %@ not KVC complient for %@", original, aKey); + NSDebugLLog(@"KVC", @"class %@ not KVC complient for %@", original, aKey); /* [NSException raise: NSInvalidArgumentException format: @"class not KVC complient for %@", aKey];