std.experimental.logger formal review round 3
Martin Nowak via Digitalmars-d
digitalmars-d at puremagic.com
Sun Nov 16 17:44:00 PST 2014
On Friday, 31 October 2014 at 15:35:55 UTC, Dicebot wrote:
> On Tuesday, 28 October 2014 at 22:03:18 UTC, Martin Nowak wrote:
>> 2nd iteration of that idea.
>
> For me it looks like the cure is worse than the disease. Simply
> not distributing precompiled libraries with log level
> force-reduced (or at least not exposing it in provided .di
> files) feels like a more practical approach than proposed API
> complication.
There are no .di files in a dub package.
And for certain libraries the runtime overhead for checking log
levels isn't acceptable, so we need a non-global way to configure
logging of a library.
More information about the Digitalmars-d
mailing list