Skip to content

Commit b2e844c

Browse files
committed
Fix STNetTaskQueueLog issue.
1 parent 79b9452 commit b2e844c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

STNetTaskQueue/STNetTaskQueueLog.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ + (void)log:(NSString *)content, ...
1717
}
1818
va_list args;
1919
va_start(args, content);
20-
content = [[NSString alloc] initWithFormat:content arguments:args];
20+
NSLogv([NSString stringWithFormat:@"[STNetTaskQueue] %@", content], args);
2121
va_end(args);
22-
NSLog(@"[STNetTaskQueue] %@", content);
2322
}
2423

2524
@end

0 commit comments

Comments
 (0)