Skip to content

Commit 69a55d7

Browse files
hoxyqfacebook-github-bot
authored andcommitted
Console: prioritize original console.timeStamp implementation (#52319)
Summary: Pull Request resolved: #52319 # Changelog: [Internal] Reviewed By: vzaidman Differential Revision: D77315831 fbshipit-source-id: b4d7fd9c816dcb4b76cc7d026f509a6a24da58f8
1 parent 5340a00 commit 69a55d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/polyfills/console.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,7 @@ if (global.nativeLoggingHook) {
585585
}
586586

587587
global.console = {
588+
timeStamp: consoleTimeStampPolyfill,
588589
...(originalConsole ?? {}),
589590
error: getNativeLogFunction(LOG_LEVELS.error),
590591
info: getNativeLogFunction(LOG_LEVELS.info),
@@ -597,7 +598,6 @@ if (global.nativeLoggingHook) {
597598
groupEnd: consoleGroupEndPolyfill,
598599
groupCollapsed: consoleGroupCollapsedPolyfill,
599600
assert: consoleAssertPolyfill,
600-
timeStamp: consoleTimeStampPolyfill,
601601
};
602602

603603
// TODO(T206796580): This was copy-pasted from ExceptionsManager.js

0 commit comments

Comments
 (0)