How to hide source of Log messages in Console?
for those who are still looking for this, you can use something like
function consoleWithNoSource(...params) {
setTimeout(console.log.bind(console, ...params));
}
consoleWithNoSource("Helloo....!")
They are using setTimeout
to detach from the source:
setTimeout(console.log.bind(console, '\n%c' + s[0], s[1]));