Skip to content

Commit bcce592

Browse files
committed
Use RCTLogWarn instead of NSLog to log errors
1 parent 3a26f42 commit bcce592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNCAsyncStorage.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ static dispatch_queue_t RCTGetMethodQueue()
191191
*/
192192
static void RCTStorageDirectoryMigrationLogError(NSString *reason, NSError *error)
193193
{
194-
NSLog(@"%@: %@", reason, error ? error.description : @"");
194+
RCTLogWarn(@"%@: %@", reason, error ? error.description : @"");
195195
}
196196

197197
static void RCTStorageDirectoryCleanupOld()

0 commit comments

Comments
 (0)