std.experimental.logger formal review round 3

Marco Leise via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 13 14:23:40 PST 2014


Am Wed, 12 Nov 2014 17:56:06 +0000
schrieb "Dicebot" <public at dicebot.lv>:

> […] have means to 
> explicitly capture lock on global one from local proxies for 
> optimized bulk logging.

That's certainly something that occurred to me when talking
with Manu about logging. A locked bulk transfer could
be added, maybe replacing the single element transfer function
that exists already. Thread local loggers that accumulate logs
and pass them on to a global logger seem to be a well known
use case.

-- 
Marco



More information about the Digitalmars-d mailing list