How node overrides the console.log method

I want to add "input:"

to everything printed by console.log ().
Mar.24,2021

console.log_ = console.log
console.log = function(massge){
    console.log_('' + massge)
}
console.log('a'); // a

like this?
const log = console.log;
console.log = (...args) => {
    args = args.map(arg => `: ${arg}`);
    log.apply(console, args);
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b33570-2be9f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b33570-2be9f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?