Voting: std.logger

Robert burner Schadek via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 17 05:16:36 PDT 2014


thank you Dicebot for the work.

I thought I give a quick update.

* The interface now works on overloads with template constraints.
* The internal api has been split in logHeader, logMsgPart and 
finishLogMsg (writeLogMsg) can still be used
* StdIOLogger and StdErrLogger are replaced by 
FileLogger(stdout|stderr)
* FileLogger take std.stdio.File as parameter for the ctor, 
though files can be closed on scope exit
* FileLogger flush after logging
* new DataTime formatter to output range (placeholder until 
std.datetime comes up with something)
* fixed all spelling mistakes given in the review
* more documentation (introduced new spelling mistakes ;-) review 
please)
* ArrayLogger and MultiLogger use same std.container.Array based 
base class
* More stuff I forgot about

please review and let us get this thing moving


More information about the Digitalmars-d mailing list