Voting: std.logger
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Mon Aug 18 19:26:29 PDT 2014
On 8/17/14, 5:16 AM, Robert burner Schadek wrote:
> 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
This is very promising! Has the versioning issue been solved? I.e. we
want the user code to choose the static logging level, not distribute
five versions of Phobos.
Andrei
More information about the Digitalmars-d
mailing list