Voting: std.logger

Robert burner Schadek via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 8 04:17:48 PDT 2014


On Saturday, 30 August 2014 at 02:16:55 UTC, Dicebot wrote:
>
> ==============================
> Martin Nowak
> ==============================
>
> "Support duck-typing for the log functions.
> Logger should be a concept and log functions should be 
> free-standing
> UFCS functions that take any `isLogger!T`.
> To support a global `defaultLog` variable, you could add a 
> Logger
> interface and a loggerObject shim. See
> http://dlang.org/phobos/std_range.html#inputRangeObject for 
> this a pattern."
>
> Neither seem to be addressed nor countered.

Overly complicated IMO


More information about the Digitalmars-d mailing list