Showing timestamp on console entries

How can I make the Console pane show timestamps with every entry? If it’s platform specific, I’m using nodejs.


Hey @devdoshi1, welcome to the community!

You could always just log the date with whatever else you were going to log:

const date = createdAt.getTime();
console.log(`${date} Hello, world!`)

Thanks, unfortunately I don’t control all the code that is logging, and I would prefer not to override the console methods if I don’t have to. In Chrome Developer Tools there’s an option to include the timestamp with each entry. Where can I find out more details about how Replit’s Console pane works?

1 Like

Sorry, I don’t have a clue. As far as I know, there’s no setting to enable that.