Suggestion/proposal regarding std.logger candidate

Tobias Pankrath via Digitalmars-d digitalmars-d at puremagic.com
Sat May 24 05:39:23 PDT 2014


On Saturday, 24 May 2014 at 11:58:35 UTC, Gary Willoughby wrote:
> On Saturday, 24 May 2014 at 10:04:33 UTC, David Osborne wrote:
>> Just to be clear, what I am suggesting/proposing is that the 
>> current Logger class in std.logger be altered so that it looks 
>> more like this, with filter, format and sink template 
>> arguments that determine its behaviour, instead of using an 
>> inheritance-based approach.
>
> Please be aware of KISS, YAGNI and other beware of over 
> engineering principles

Why not just copy the design of boost::log?


More information about the Digitalmars-d mailing list