Now that's doing it properly! Where do you find the time!

I also had a desire to know about debug logs when I caused them, so I made up something very basic to just push the logs in my face above the header...which may suit some people:
http://www.zen-cart.com/showthread.p...-Automatically