Structured logging (was Early review of std.logger)

Dicebot public at dicebot.lv
Fri Oct 18 09:01:28 PDT 2013


On Friday, 18 October 2013 at 15:29:09 UTC, ilya-stromberg wrote:
> About syntax - we can use something like this:
> log!(user, server, errorCode)(LOGIN_FAILED_UUID, "Couldn't log 
> in");

That will be template instance bloat disaster for something used 
as commonly as log function (comparing to a typical few dozen 
`render` calls per web application at most)


More information about the Digitalmars-d mailing list