Slightly Inaccurate Logging

Posted by Rivius on Sat 04 Dec 2010 08:33 PM — 2 posts, 12,158 views.

#0
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.
Australia Forum Administrator #1
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.