I'd like to be able to timestamp every line I log, or at least record the milliseconds. Now the prefix box under General Preferences -> Logging seems good, but there does not appear any support for milliseconds or timestamps, although of course there is for seconds, minutes, etc... It seems to me that this'd be simple enough. Thanks
timestamp while logging
Posted by Tsunami on Sun 14 Aug 2005 05:47 PM — 3 posts, 19,297 views.
You can use JScript, or perlscript to get milliseconds.
I wrote something like this, except that it checks differences in times, but it should be easy enough to modify for just regular time.
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=5567
You'll also have to make it send to your log, instead of appending it to the line, but that shouldn't be too big either.
I wrote something like this, except that it checks differences in times, but it should be easy enough to modify for just regular time.
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=5567
You'll also have to make it send to your log, instead of appending it to the line, but that shouldn't be too big either.
True enough, but it would be so much more convinient not to have to use scripting and I doubt it'd be that hard at all.