Have a bit of an issue. I need to replace all the console.log lines so that they match a logger function I have created.
Currently there is:
console.log("log message");
End result needed:
logger("log message","d");
Is there a way I can find and replace the start and end of the console log line without losing the message?
Using Visual Studio Code but can use other tools if needed.