I like the idea. What is your definition of "each message"? I would think a single timestamp for a code listing would be sufficient. Not a timestamp for each statement.
I like this idea a lot. I've done this adhoc when I'm writing messages to the log for certain applications. It'd be great to just be able to turn it on in the preferences.