Replace android.util.log for FLog

Summary:
We must use FLog instead of android.util.log, this diff moves the current callsites of android.util.log to FLog

changeLog:[internal]

Reviewed By: JoshuaGross

Differential Revision: D19884741

fbshipit-source-id: 300f7d691961aa51f0b525c37da7ae3d64fe5131
This commit is contained in:
David Vacca
2020-02-13 14:43:54 -08:00
committed by Facebook Github Bot
parent bcc62a6d17
commit 2b5283e39f
6 changed files with 28 additions and 29 deletions
@@ -7,7 +7,6 @@
package com.facebook.react.devsupport;
import android.util.Log;
import androidx.annotation.Nullable;
import com.facebook.common.logging.FLog;
import com.facebook.infer.annotation.Assertions;
@@ -58,7 +57,7 @@ public class BundleDownloader {
info.mUrl = obj.getString("url");
info.mFilesChangedCount = obj.getInt("filesChangedCount");
} catch (JSONException e) {
Log.e(TAG, "Invalid bundle info: ", e);
FLog.e(TAG, "Invalid bundle info: ", e);
return null;
}
@@ -72,7 +71,7 @@ public class BundleDownloader {
obj.put("url", mUrl);
obj.put("filesChangedCount", mFilesChangedCount);
} catch (JSONException e) {
Log.e(TAG, "Can't serialize bundle info: ", e);
FLog.e(TAG, "Can't serialize bundle info: ", e);
return null;
}