Voting: std.logger

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 1 11:10:16 PDT 2014


On 8/1/14, 10:23 AM, Kagamin wrote:
> On Friday, 1 August 2014 at 16:43:32 UTC, Andrei Alexandrescu wrote:
>> On 8/1/14, 9:36 AM, Andrei Alexandrescu wrote:
>>> Oh I hadn't realized that. Thanks! That strengthens my opinion that more
>>> work is needed on the library before inclusion in std.experimental.
>>
>> To clarify: I'm very strongly opposed to a design that requires
>> rebuilding Phobos (or relying on different pre-built versions) for
>> different logging levels. That's just unacceptable. User code must be
>> able to set logging levels by just passing flags to their own builds.
>
> Must be able, but should it be the only possible way?

Other ways would be also nice, but the primary use case is the user 
chooses the static logging level during build. -- Andrei


More information about the Digitalmars-d mailing list