Voting: std.logger

Robert burner Schadek via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 9 12:38:15 PDT 2014


On Saturday, 30 August 2014 at 02:18:30 UTC, Dicebot wrote:
> I have likely missed several points but overall it seem pretty 
> clear to me that all requests / concerns have not been 
> addressed and this proposal is not yet ready for another round 
> of review.

I made the stdlog creating thread-safe and on stack. I think that 
was the last point that was mentioned.

>
> 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.


More information about the Digitalmars-d mailing list