I recently had to debug some code with -trace, and found the lack of timestamps to be quite dissapointing.
Is there any chance we could get -trace to add timestamps? For example.
hh:mm:ss:sss - ../libdung/server/stick.cpp:172
hh:mm:ss:sss - calling /thing/New()
hh:mm:ss:sss - exiting /other/thing/New()
ID:2069337
Apr 13 2016, 5:34 pm
|
|||||||
| |||||||
Apr 14 2016, 5:03 pm
|
|
You can do this in soft code with world/Error(). We do that over at /tg/.
|
In response to Dunc
|
|
Dunc wrote:
You can do this in soft code with world/Error(). We do that over at /tg/. Not really, that would work for non-trace logging, but as far as I'm aware all logging done by -trace doesnt even touch the VM and goes straight to disk. |