Review: std.logger

ponce via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 14 14:41:16 PDT 2014


On Monday, 14 July 2014 at 17:18:05 UTC, Jeremy Powers via 
Digitalmars-d wrote:
>
> We can argue about these things forever, but ultimately all 
> that really
> matters is: does it do what we need?  As long as the API works, 
> and lets
> one build fancier functionality underneath, it is good.  
> (Though, in my
> experience, any API written will be wrong the first try)
>
>
> That said, my bikeshed preferences are:
>  - namespaced log.info, log.warning, etc
>  - info(f) matching write(f)
>  - conditionals as an extension/wrapper, not part of base

My vote goes for:

- vibe.d names (logDebug/logInfo)
- info(f) matching write(f)
- conditionals as an extension/wrapper, not part of base


More information about the Digitalmars-d mailing list