From 3164c029b4c87cf65a8a7f21a85e95b960806b59 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 8 Sep 2012 09:28:59 +0000 Subject: Replace uses of NSLog(). --- Frameworks/PostgresKit/Source/FLXPostgresConnection.m | 2 +- Frameworks/PostgresKit/Source/FLXPostgresConnectionEncoding.m | 2 +- Frameworks/PostgresKit/Source/FLXPostgresResult.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Frameworks/PostgresKit') diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnection.m b/Frameworks/PostgresKit/Source/FLXPostgresConnection.m index 6e7f2c84..de484802 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresConnection.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresConnection.m @@ -360,7 +360,7 @@ static void _FLXPostgresConnectionNoticeProcessor(void *arg, const char *message BOOL success = [_parameters loadParameters]; - if (!success) NSLog(@"PostgresKit: Warning: Failed to load database parameters."); + if (!success) _log(@"PostgresKit: Warning: Failed to load database parameters."); } /** diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnectionEncoding.m b/Frameworks/PostgresKit/Source/FLXPostgresConnectionEncoding.m index ddecee64..0566b8ef 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresConnectionEncoding.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresConnectionEncoding.m @@ -147,7 +147,7 @@ return CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingDOSThai); } - NSLog(@"PostgresKit: Warning: Unable to process unknown PostgreSQL encoding '%s'; falling back to UTF8.", charset); + _log(@"PostgresKit: Warning: Unable to process unknown PostgreSQL encoding '%s'; falling back to UTF8.", charset); return FLXPostgresConnectionDefaultStringEncoding; } diff --git a/Frameworks/PostgresKit/Source/FLXPostgresResult.m b/Frameworks/PostgresKit/Source/FLXPostgresResult.m index 3cb44252..5180a9cb 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresResult.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresResult.m @@ -207,7 +207,7 @@ static NSString *FLXPostgresResultError = @"FLXPostgresResultError"; id handler = [self _typeHandlerForColumn:column withType:type]; if (!handler) { - NSLog(@"PostgresKit: Warning: No type handler found for type %d, return NSData.", type); + _log(@"PostgresKit: Warning: No type handler found for type %d, return NSData.", type); const void *bytes = PQgetvalue(_result, row, column); NSUInteger length = PQgetlength(_result, row, column); -- cgit v1.2.3