If you're looking for something you can do without having to replace all your print statements with 'debug' statements, or 'log' , or whatever (that is, if you're looking for something you can do in one place to alter the behaviour of all your existing debug code), you can try this, or take a look at it for ideas. I just threw it together, based on some reading I'd done recently, and your post. It's really nothing fancy, and can, under the right circumstances, surprise you. You may well be better served by rolling your own. Sample usage is at the end of the file. Jason > -----Original Message----- > From: quixote-users-bounces@mems-exchange.org > [mailto:quixote-users-bounces@mems-exchange.org]On Behalf Of Mark > Bucciarelli > Sent: Tuesday, July 22, 2003 11:06 AM > To: quixote-users@mems-exchange.org > Subject: [Quixote-users] debug output with time stamp? > > > is there an easy way to prefix a timestamp to debug output generated > with print statements? > > regards, > -- > Mark Bucciarelli, www.hubcapconsulting.com > He who receives an idea from me, receives instruction himself > without lessening mine; as he who lights his taper at mine receives > light without darkening me. -- Thomas Jefferson > > > _______________________________________________ > Quixote-users mailing list > Quixote-users@mems-exchange.org > http://mail.mems-exchange.org/mailman/listinfo/quixote-users >