Review: std.logger
Dragos Carp via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jul 15 00:31:38 PDT 2014
>> +1 for not having the conditional log
>
> Not so sure about that. -- Andrei
I agree that the conditional could be useful. But I think that
the current API definition where we already have some strange
letter combinations ('l', 'c', 'f') is an one-way street, that
throws away some good possibilities to extend it later. Should we
keep adding cryptic letters? That is the reason why I think it is
better to let out the conditional log for now.
errorIf - looks D-like
errorc - is at most C-like
The argument that writef/-ln also contain some cryptic letters
have historical reasons and should not motivate us to add some
more.
More information about the Digitalmars-d
mailing list