Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Suggestions
➜ timestamp while logging
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Tsunami
USA (204 posts) Bio
|
Date
| Sun 14 Aug 2005 05:47 PM (UTC) |
Message
| 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 | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #1 on Sun 14 Aug 2005 09:39 PM (UTC) |
Message
| 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. |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Tsunami
USA (204 posts) Bio
|
Date
| Reply #2 on Wed 17 Aug 2005 05:13 PM (UTC) |
Message
| 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. | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
15,518 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top