diff options
author | stuconnolly <stuart02@gmail.com> | 2012-09-08 09:28:59 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-09-08 09:28:59 +0000 |
commit | 3164c029b4c87cf65a8a7f21a85e95b960806b59 (patch) | |
tree | aee392988c4a706c326e8cb310850f04066843a1 | |
parent | 6f35772e8d9872a2318d1cd8e26804dbed819576 (diff) | |
download | sequelpro-3164c029b4c87cf65a8a7f21a85e95b960806b59.tar.gz sequelpro-3164c029b4c87cf65a8a7f21a85e95b960806b59.tar.bz2 sequelpro-3164c029b4c87cf65a8a7f21a85e95b960806b59.zip |
Replace uses of NSLog().
-rw-r--r-- | Frameworks/PostgresKit/Source/FLXPostgresConnection.m | 2 | ||||
-rw-r--r-- | Frameworks/PostgresKit/Source/FLXPostgresConnectionEncoding.m | 2 | ||||
-rw-r--r-- | Frameworks/PostgresKit/Source/FLXPostgresResult.m | 2 |
3 files changed, 3 insertions, 3 deletions
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 <FLXPostgresTypeHandlerProtocol> 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); |