Files
Josh StoryandGitHub 16d0191d02 [Cache Components] Allow unstable prefix for cacheLife and cacheTag (#84934)
These are now stable but to allow for graceful upgrading we still export
unstable versions. The unstable version includes a once-warning that
indicates you should upgrade to the stable name.
2025-10-16 16:01:24 -07:00

13 lines
294 B
JavaScript

const originalLog = console.log.bind(console)
console.log = (...args) => {
new Date()
Math.random()
if (typeof args[0] === 'string') {
const firstArg = '[<timestamp>] ' + args[0]
originalLog(firstArg, ...args.slice(1))
} else {
originalLog('[<timestamp>] ', ...args)
}
}