mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Log timestamp in ReactMarker.logFabricMarker method
Summary: Ensure we always log a timestamp in ReactMarker.logFabricMarker changelog: [internal] internal Reviewed By: ShikaSD Differential Revision: D34006699 fbshipit-source-id: 79ff1005ba1f0ed44bf319e50a80dbdebd1ec24f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8ee1f832b6
commit
eafa5bcb38
@@ -7,6 +7,7 @@
|
||||
|
||||
package com.facebook.react.bridge;
|
||||
|
||||
import android.os.SystemClock;
|
||||
import androidx.annotation.Nullable;
|
||||
import com.facebook.proguard.annotations.DoNotStrip;
|
||||
import java.util.List;
|
||||
@@ -91,7 +92,7 @@ public class ReactMarker {
|
||||
@DoNotStrip
|
||||
public static void logFabricMarker(
|
||||
ReactMarkerConstants name, @Nullable String tag, int instanceKey) {
|
||||
logFabricMarker(name, tag, instanceKey, -1);
|
||||
logFabricMarker(name, tag, instanceKey, SystemClock.uptimeMillis());
|
||||
}
|
||||
|
||||
@DoNotStrip
|
||||
|
||||
Reference in New Issue
Block a user