On Wednesday, 12 October 2016 at 14:19:36 UTC, Chris wrote:


The answer is that `HTMLLogger` needs to be given the time in the `LogLine` struct, else it fails. The time stamp is not auto generated. I completely overlooked that.

Here's the culprit:

cf.

m_logFile.writef(`<div class="timeStamp">%s</div>`, msg.time.toISOExtString());

https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/core/log.d#L363

I wonder, if the design of HTMLLogger couldn't be improved in this respect. It's not an obvious error.

Reply via email to