LogLevel [was std.experimental.logger formal review round 3]

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 3 20:51:33 PST 2014


On 12/04/2014 03:41 AM, Rikki Cattermole wrote:
>
> Okay its a lot simpler and far less context specific.
> One thing I think should be addressed is at runtime, to override these
> defaults.

Just use a value instead of an enum, and you can configure the log level 
at runtime.
https://gist.github.com/MartinNowak/443f11aa017d14007c35#file-main-d



More information about the Digitalmars-d mailing list