Removed unnecessary NSLog calls

pull/69/merge
Ludovic Marcotte 2015-01-22 15:39:57 -05:00
parent d907d5d268
commit 1a10599369
5 changed files with 14 additions and 10 deletions

View File

@ -59,8 +59,10 @@ static NGCardsSaxHandler *sax = nil;
[parser setErrorHandler:sax]; [parser setErrorHandler:sax];
} }
else else
NSLog(@"ERROR(%s): did not find a parser for text/x-vcard!", {
__PRETTY_FUNCTION__); //NSLog(@"ERROR(%s): did not find a parser for text/x-vcard!",
// __PRETTY_FUNCTION__);
}
} }
return parser; return parser;
@ -170,8 +172,8 @@ static NGCardsSaxHandler *sax = nil;
{ {
if (![aChild isKindOfClass: mappedClass]) if (![aChild isKindOfClass: mappedClass])
{ {
NSLog (@"warning: new child to entity '%@': '%@' converted to '%@'", //NSLog (@"warning: new child to entity '%@': '%@' converted to '%@'",
tag, childTag, NSStringFromClass(mappedClass)); // tag, childTag, NSStringFromClass(mappedClass));
newChild = [aChild elementWithClass: mappedClass]; newChild = [aChild elementWithClass: mappedClass];
} }
} }

View File

@ -54,7 +54,7 @@
- (BOOL)appendLine:(NSString *)_line { - (BOOL)appendLine:(NSString *)_line {
if (self->isFinished) { if (self->isFinished) {
NSLog(@"WARNING[%s]: already finished!", __PRETTY_FUNCTION__); //NSLog(@"WARNING[%s]: already finished!", __PRETTY_FUNCTION__);
return NO; return NO;
} }
// limit length to 75 chars // limit length to 75 chars

View File

@ -77,8 +77,8 @@ static NSString *gmtcalfmt = @"%Y%m%dT%H%M%SZ";
return [self icalStringInGMT]; return [self icalStringInGMT];
else { else {
/* not in GMT */ /* not in GMT */
NSLog(@"WARNING(%s): arbitary timezones not supported yet: %@", //NSLog(@"WARNING(%s): arbitary timezones not supported yet: %@",
__PRETTY_FUNCTION__, _tz); // __PRETTY_FUNCTION__, _tz);
return [self icalStringInGMT]; return [self icalStringInGMT];
} }
} }

View File

@ -276,7 +276,9 @@
} }
} }
else else
NSLog(@"Cannot parse iCal duration value: '%@'", self); {
//NSLog(@"Cannot parse iCal duration value: '%@'", self);
}
if (isNegative) if (isNegative)
ti = -ti; ti = -ti;

View File

@ -59,8 +59,8 @@ static NSTimeZone *defTZ = nil;
[self takeValue:_value forXKey:_key]; [self takeValue:_value forXKey:_key];
} }
else { else {
NSLog(@"0x%08x[%@]: ignoring attempt to set unbound key '%@'", //NSLog(@"0x%08x[%@]: ignoring attempt to set unbound key '%@'",
self, NSStringFromClass([self class]), _key); // self, NSStringFromClass([self class]), _key);
} }
} }