Gammon Forum
Entire forum
MUSHclient
Bug reports
Slightly Inaccurate Logging
Slightly Inaccurate Logging
|
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Posted by
| Rivius
(99 posts) bio
|
Date
| Sat 04 Dec 2010 08:33 PM (UTC) |
Message
| While it isn't urgent in the least, I've noticed some inaccuracies in the logger and I'm not sure how much of this is due to bad settings, and how much is due to a bug. As it is, I use all the default settings.
Right now, if I copy and paste directly from the output in HTML, the font size remains the same in my pasted log, and the custom notes remain in their right places. However, when I use the built-in logging feature, the font is notably larger and the notes end up showing up BEFORE the triggers that fire them.
I was wondering if the logger can be made to match up more to HTML that is copied directly from the output. | top |
|
Posted by
| Nick Gammon
Australia (22,975 posts) bio
Forum Administrator |
Date
| Reply #1 on Sat 04 Dec 2010 09:00 PM (UTC) |
Message
| The font size should be set once in the HTML preamble. If you get that right then everything should follow on from that.
As for the notes, it processes each trigger by sending the line to the main world and each plugin. All of them have the chance to set the "omit from logging" flag, so the logging has to be done afterwards. However if the trigger does its own logging then that will appear before the trigger is logged.
What you can do to work around that is send to "script after omit" which defers the scripts until after the lines are omitted - whether or not they are actually omitted - (and also after they are logged). That should get things into the right order. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
8,639 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.