std.experimental.logger formal review round 3

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Sun Oct 26 15:14:30 PDT 2014


On 10/11/2014 03:34 PM, Robert burner Schadek wrote:
>> - Why do loggers have to be classes?
> As answered multiply times before, to build log hierarchies.

You can easily create classes from structs, that's what I said 2 lines 
below.

 > Add a Logger interface and a loggerObject to wrap structures when 
polymorphic loggers are needed.


More information about the Digitalmars-d mailing list