std.experimental.logger formal review round 3

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 27 13:49:34 PDT 2014


On Monday, 27 October 2014 at 20:42:10 UTC, Martin Nowak wrote:
> Say I want to add tracing/logging to 
> [`parseJson`](http://dlang.org/library/std/json/parseJSON.html) 
> or 
> [`findRoot`](http://dlang.org/phobos/std_numeric.html#.findRoot)

This is exactly what is wrong :) Using std.logger inside Phobos 
itself is a big no. Actually even finding yourself in position 
where you may want to do it indicates some Phobos design issue.


More information about the Digitalmars-d mailing list