How can I override the log method of the console object in order to turn this:
//objectXYZ: {prop: 1}
console.log(objectXYZ);
==> {prop: 1}
Into this:
//objectXYZ: {prop: 1}
console.log(objectXYZ);
==> objectXYZ: {prop: 1}
So I could save time and instead of typing console.log("object: ",object);, I would only type console.log(object);
Any ideas?