Voting: std.logger

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 3 01:24:10 PDT 2014


On Friday, 1 August 2014 at 20:20:00 UTC, Jeremy Powers via 
Digitalmars-d wrote:
>>
>> Can you tell, what `log(1)` does?
>>
>
> Is there a irrefutable requirement to have a log function 
> without explicit
> level?

As I understand, it's a defensive feature. There are things one 
wants in the log unconditionally, like OS version and program 
version. They can be logged at fatal level, but that's a 
workaround and looks confusing, and still can be filtered.


More information about the Digitalmars-d mailing list