Implementing std.log

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed May 11 07:56:48 PDT 2011


On 05/11/2011 09:15 AM, Andrei Alexandrescu wrote:
> On 05/11/2011 08:46 AM, dsimcha wrote:
>> On 5/9/2011 2:52 AM, Andrei Alexandrescu wrote:
>>> As I mentioned I'd already decided I'll take a stab at implementing a
>>> logging module inspired in design from glog. I was tired of the endless
>>> discussions on what a logging API should look like. This ironically is
>>> leading now to an embarrassment of riches - we now have two proposals on
>>> the table. I subjectively prefer mine for the simple reason that it
>>> includes exactly what I wanted from a logging subsystem with a light
>>> syntax.
>>>
>>
>> I noticed this was recently checked into Phobos. What's its status? Is
>> it experimental? Is it for inclusion in the upcoming (2.053) release? Is
>> it for 2.054 (the next release after)?
>
> Ouch. Pushing to Phobos is a mistake, I meant to only push it to my own
> fork of Phobos. I wouldn't dream of pushing a new module without going
> through the review process, and even less so since there's a competing
> proposal.
>
> How do I undo that push?
>
>
> Thanks,
>
> Andrei

I removed std.log from Phobos. I left in support for positional 
parameter ranges, e.g.

writefln("%1$u:%2:3$s-%4:$s", ...);

prints the first argument with spec u, the second and third with the 
spec s, and everything else with the spec s.


Andrei


More information about the Digitalmars-d mailing list