Structured logging (was Early review of std.logger)

ilya-stromberg ilya-stromberg-2009 at yandex.ru
Fri Oct 18 09:13:58 PDT 2013


On Friday, 18 October 2013 at 16:01:30 UTC, Dicebot wrote:
> 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)

Yes, you are right. I forgot about this.


More information about the Digitalmars-d mailing list