std.logger

Craig Dillabaugh cdillaba at cg.scs.carleton.ca
Thu Aug 22 09:07:43 PDT 2013


On Thursday, 22 August 2013 at 16:03:01 UTC, Robert Schadek wrote:
> On 08/22/2013 05:51 PM, Craig Dillabaugh wrote:
>> Do you really find the three extra characters a big problem.
>>
>> Log() vs. logLog()  //OK, that is kind of ugly.
>> Info() vs logInfo()
>> Warning() vs logWarning()
>> Error() vs logError()
>>
>> Its only three extra characters and they are all in the sweet
>> spot on my QWERTY keyboard :o)
>>
>> I guess my concern would be that if you want to use camelCase 
>> and
>> start with a lower case letter, there are not a tonne of 
>> options.
>
> You are properly right, but ultimately I would like to write 
> log(),
> warning(), ... but that did
> not fly last time. log!Warning() would also be fine but that 
> leads to
> other problems.
> Anyway, changing to lower, logLog or something else isn't 
> really a
> problem IMO when
> a consensus has been found.

It seems like Jacob's suggestion (if you like that) solves both
of our problems.


More information about the Digitalmars-d mailing list