Review of Jose Armando Garcia Sancio's std.log

jdrewsen jdrewsen at nospam.com
Tue Feb 14 11:10:47 PST 2012


On Tuesday, 14 February 2012 at 18:51:20 UTC, Jose Armando Garcia 
wrote:
> On Tue, Feb 14, 2012 at 4:44 PM, jdrewsen <jdrewsen at nospam.com> 
> wrote:
>> On Tuesday, 14 February 2012 at 16:12:57 UTC, Jose Armando 
>> Garcia wrote:
>>>
>>> On Mon, Feb 13, 2012 at 1:50 PM, David Nadlinger 
>>> <see at klickverbot.at>
>>> wrote:
>>>>
>>>> There are several modules in the review queue right now, and 
>>>> to get
>>>> things
>>>> going, I have volunteered to manage the review of Jose's 
>>>> std.log
>>>> proposal.
>>>> Barring any objections, the review period starts now and 
>>>> ends in three
>>>> weeks, on March 6th, followed by a week of voting.
>>>>
>>>> ---
>>>> Code:
>>>>
>>>> https://github.com/jsancio/phobos/commit/d114420e0791c704f6899d81a0293cbd3cc8e6f5
>>>> Docs: http://jsancio.github.com/phobos/phobos/std log.html
>>>
>>>
>>> Updated the document an implementation to reflect every 
>>> suggest for I
>>> replied to with the exception of providing a format parameter 
>>> for
>>> thread name. Should have that ready later today. Let me know 
>>> if I
>>> missed anything. API changes:
>>>
>>> 1. Dropped log!info("message"), etc. Use info("message), etc.
>>> 2. opCall now alias to format. Ie. info("Format %s message",
>>> Severity.info).
>>>  this means that to concatenate strings you need to
>>> info.write("Hello ", "world");
>>>
>>
>> In the introduction text the references to Configuration etc. 
>> should be made
>> into links.
>>
> I would love to do that. How do you do that with ddoc?

For example: $(LREF Configuration)

The LREF macro is defined in 
https://github.com/D-Programming-Language/d-programming-language.org/blob/master/std.ddoc#L293 
along with other useful macros.

/Jonas



More information about the Digitalmars-d mailing list