Monotone-Parent: 3556596e54bd1f81160e5c10120b46259ec240f8
Monotone-Revision: fd483b959e9ace05c008817b99952497b2b47141 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-06-03T14:30:49 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
7c3da75fa5
commit
72a7d598d5
|
@ -1,3 +1,9 @@
|
|||
2009-06-03 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* GCSFolderManager.m: replaced invocations of NSLog with
|
||||
debugWithFormat:. This avoids polluting the log with information
|
||||
that really pertains to debugging.
|
||||
|
||||
2009-06-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* GCSFolder.m ([GCSFolder -recordsCountByExcludingDeleted:]): new
|
||||
|
|
|
@ -130,7 +130,8 @@ static NSLock *lock;
|
|||
__PRETTY_FUNCTION__, [url absoluteString]);
|
||||
return nil;
|
||||
}
|
||||
NSLog(@"Note: setup default manager at: %@", url);
|
||||
if (debugOn)
|
||||
[self debugWithFormat:@"Note: setup default manager at: %@", url];
|
||||
}
|
||||
#if defined(THREADSAFE)
|
||||
[lock unlock];
|
||||
|
@ -155,7 +156,7 @@ static NSLock *lock;
|
|||
|
||||
typeMap = [NSMutableDictionary dictionaryWithCapacity:count];
|
||||
|
||||
[self logWithFormat:@"Note: loading %d GCS folder types:", count];
|
||||
[self debugWithFormat:@"Note: loading %d GCS folder types:", count];
|
||||
for (i = 0, count = [types count]; i < count; i++) {
|
||||
NSString *type;
|
||||
GCSFolderType *typeObject;
|
||||
|
@ -163,7 +164,7 @@ static NSLock *lock;
|
|||
type = [[types objectAtIndex:i] stringByDeletingPathExtension];
|
||||
typeObject = [GCSFolderType folderTypeWithName: type];
|
||||
|
||||
[self logWithFormat:@" %@: %s",
|
||||
[self debugWithFormat:@" %@: %s",
|
||||
type, [typeObject isNotNull] ? "OK" : "FAIL"];
|
||||
[typeMap setObject: typeObject forKey:type];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue