diff --git a/libs/platform/platform_ios.mm b/libs/platform/platform_ios.mm index 191f1f373..d7178727d 100644 --- a/libs/platform/platform_ios.mm +++ b/libs/platform/platform_ios.mm @@ -83,7 +83,7 @@ void Platform::DisableBackupForFile(std::string const & filePath) BOOL valueRaw = YES; CFNumberRef value = CFNumberCreate(kCFAllocatorDefault, kCFNumberCharType, &valueRaw); if (!CFURLSetResourcePropertyForKey(url, kCFURLIsExcludedFromBackupKey, value, &err)) - NSLog(@"Error while disabling iCloud backup for file: %s", filePath.c_str()); + LOG(LERROR, ("Error:", err, "while disabling iCloud backup for file:", filePath.c_str())); CFRelease(value); CFRelease(url);