Voting: std.logger

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 1 09:52:15 PDT 2014


On Monday, 1 September 2014 at 16:45:29 UTC, Ola Fosheim Grøstad 
wrote:
> If the standard library does not provide the following from the 
> get go:
>
> 1. general usefulness
> 2. performance
> 3. KISS in terms of interface (not in language semantics)
>
> then people will be better off rolling their own. Creating a 
> simple logger is not difficult, the challenge is in creating a 
> performant, generally useful one with legible syntax and full 
> CT type safety.

You are totally misunderstanding goals of std.logger - people as 
_expected_ to roll their own Loggers. std.logger is here only to 
provide standard API for those to integrate with each other and 
few trivial common implementation as examples. Rest is dub 
business.

And no, magic identification of format string is neither language 
KISS nor interface KISS.


More information about the Digitalmars-d mailing list