Skip to content

Commit

Permalink
cleanup some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rmottola committed Aug 28, 2020
1 parent 58c5073 commit c31d8a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DBSObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Project: DataBasin
DBSobject.m
Copyright (C) 2010-2017 Free Software Foundation
Copyright (C) 2010-2020 Free Software Foundation
Author: Riccardo Mottola
Expand Down Expand Up @@ -103,7 +103,7 @@ - (void)dealloc

- (NSString *)description
{
return [NSString stringWithFormat: @"<DBSObject %@, %@, %@, %@>", [self name], [self sfId], [self label], [self type]];
return [NSString stringWithFormat: @"<DBSObject %@, n:%@, l:%@, t:%@>", [self sfId], [self name], [self label], [self type]];
}

/** <p>returns the current salesforce id, in whichever format it is currently stored.</p>
Expand Down
6 changes: 3 additions & 3 deletions DBSoap.m
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ - (DBSObject *)extractQueryRecord:(NSDictionary *)record
[sObj setObjectProperties: propDict];
}

NSLog (@"single record: %@", record);
// NSLog (@"single record: %@", record);
for (j = 0; j < [keys count]; j++)
{
id obj;
Expand All @@ -729,7 +729,7 @@ - (DBSObject *)extractQueryRecord:(NSDictionary *)record

key = [keys objectAtIndex:j];
obj = [record objectForKey: key];
NSLog(@"analyzing %@ : %@", key, obj);
// NSLog(@"analyzing %@ : %@", key, obj);
if ([key isEqualToString:@"Id"])
{
value = [(NSArray *)obj objectAtIndex: 0];
Expand Down Expand Up @@ -805,7 +805,7 @@ - (void)extractQueryRecords:(NSArray *)records toObjects:(NSMutableArray *)objec

if (records == nil || [records count] == 0)
return;
NSLog(@"\n\nRecords to extract: %@\n\n", records);
// NSLog(@"\n\nRecords to extract: %@\n\n", records);
[records retain];
batchSize = [records count];

Expand Down

0 comments on commit c31d8a1

Please sign in to comment.