Is there a way to update a console.log() message after the fact?
I want to write a message like “Started Thing”
Then later when it is done have it updated to “Started Thing (Finished)”
Or does a console.log return an id like setInterval()?
That way it can be console.update(id, “New message”)
I’m using vscode
Example:
var id = console.log("Thing started");
// later
console.update(id, "Thing started and finished at " + time)