std.experimental.logger formal review round 3

Robert burner Schadek via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 28 05:02:15 PDT 2014


On Tuesday, 28 October 2014 at 11:11:09 UTC, Martin Nowak wrote:
>
> Yep, let's try that.
>
> I think part of the misunderstanding is that I'm thinking of an 
> app as user code plus a number of libraries all on top of 
> phobos. Say I have an app using vibe.d and I want to enable 
> logging in my app, but disable it in phobos.
> Was it even a design goal that logging can be enabled on a per 
> library level?

It is a design goal to disable certain LogLevel at CT of a 
compile unit (CU).
e.g. make all logs to trace function template do nothing



More information about the Digitalmars-d mailing list