Exercise: Timestamped Logs
Practice how to create a proxy for the logging function to prepend the current timestamp to the message.
We'll cover the following...
Problem statement
Create a proxy for the console object that enhances every logging function (log()
, error()
, debug()
, and info()
) by prepending ...