Suggestion/proposal regarding std.logger candidate

Robert BuRnEr Schadek via Digitalmars-d digitalmars-d at puremagic.com
Sat May 24 23:10:40 PDT 2014


On 05/24/2014 05:39 AM, Tobias Pankrath via Digitalmars-d wrote:
> 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?
because it is a c++ design based around streams


More information about the Digitalmars-d mailing list