Review of Jose Armando Garcia Sancio's std.log

Steven Schveighoffer schveiguy at yahoo.com
Mon Mar 12 05:03:24 PDT 2012


On Mon, 12 Mar 2012 01:05:33 -0400, Jose Armando Garcia  
<jsancio at gmail.com> wrote:

> On Sun, Mar 11, 2012 at 3:28 PM, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>>
>>
>> I thought more about the point made about mixing throwing and logging
>> levels. I agree that it's awkward to e.g. log to critical without  
>> throwing
>> etc. I personally think in that case you really want the error log, but  
>> hey,
>> point taken.
>>
>
> I thought about this a lot too and right now I think that if we want
> to remove asserting from fatal and remove throwing from critical then
> we should just remove those log levels completely. To me they don't
> add any additional value. The whole point of having them in the first
> place was because of their assert and throw semantic.

This is fine, since we can always add more levels later if a need arises.

-Steve


More information about the Digitalmars-d mailing list