Voting: std.logger

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 9 16:18:07 PDT 2014


On Tuesday, 9 September 2014 at 19:38:16 UTC, Robert burner 
Schadek wrote:
>> Also x-post from GitHub PR of my personal nitpick:
>>
>> "... have noticed that all logging functions have 
>> file/line/function data as template parameters. This will 
>> create insane symbol bloat. While I can understand desire to 
>> use some nicer variadic argument API providing at least one 
>> log function that it simplistic but moves all compile-time 
>> data to run-time default argument is absolutely necessary for 
>> me to consider this viable."
>
> I do not consider that a problem. The benefit is much higher 
> than the cost of the bigger binary. This has already been a 
> long conversation on some previous thread.

This unfortunately makes it almost unusable in absence of 
--gc-sections supporting compiler for lower level domains. 
Probably I am missing some data though, can you link the 
discussion thread? This PR dicussion is so long now that it hangs 
my browser when uncollapsing threads :(


More information about the Digitalmars-d mailing list