Voting: std.logger

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 20 03:35:06 PDT 2014


On Saturday, 20 September 2014 at 10:24:30 UTC, Marco Leise wrote:
> Also I wonder if Tid is the correct information to pass in.
> It is actually just an MBox from std.concurrency. The real
> thread handle is the Thread, which also contains its name,
> which might be more useful for logging. What do you think?

See also 
https://github.com/D-Programming-Language/phobos/pull/2482

For std.log I think Tid more useful because it clearly denotes 
execution context while thread ID is more of an implementation 
detail (considering message-passing is promoted as a standard D 
thing)


More information about the Digitalmars-d mailing list