std.experimental.logger default log level is everything

SealabJaster sealabjaster at gmail.com
Fri May 28 17:57:27 UTC 2021


On Friday, 28 May 2021 at 17:29:48 UTC, Steven Schveighoffer 
wrote:
> Thoughts?
>
> -Steve

I like how it's handled in C#'s Microsoft logging library. 
Without some form of being able to distinguish between "log from 
app" and "log from library X/Y/Z", std.logger doesn't seem usable 
inside of libraries (maybe if the library is a framework, then 
you could get away with it possibly).

https://docs.microsoft.com/en-us/dotnet/core/extensions/logging


More information about the Digitalmars-d mailing list