mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook Github Bot
parent
bcc62a6d17
commit
2b5283e39f
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user