std.experimental.logger formal review round 3
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Fri Nov 14 14:10:17 PST 2014
On Friday, 14 November 2014 at 22:02:30 UTC, Steven Schveighoffer
wrote:
> On 11/14/14 4:22 PM, Dicebot wrote:
>> On Thursday, 13 November 2014 at 22:19:55 UTC, Robert burner
>> Schadek wrote:
>>> One bad thing about that is that the global log is no longer
>>> sorted by
>>> time if you write to any file. That would make using the log
>>> much more
>>> difficult IMO.
>>
>> We do have timestamp as part of recorded log data, don't we?
>
> I'm not following this thread, but please please please --
> output log data in chronological order. If you have to have
> another object that does it, fine. But I don't want to have to
> rely on sorting utilities to properly read a log file.
>
> -Steve
I have meant that shared logger can do sorting based on timestamp
upon receiving chunks for thread-local ones before sending it
forward - it would require defining strict syncing period between
loggers though.
More information about the Digitalmars-d
mailing list