2011/4/28 Samuel Mimram <smim...@gmail.com>:
> What about having an inductive type / variants : Error | Warning | Info |
> ... instead of the current numbers? I wasn't even aware of the precise
> meaning of the numbers...

That I would agree with. Unfortunately, ocaml-dtools does not have a
support for generic types in Conf. And liquidsoap neither in the
scripting languages.. At the very least, we would have to revert to
strings representing each level in the scripts.

Romain

> On Thu, Apr 28, 2011 at 8:55 AM, David Baelde <david.bae...@gmail.com>
> wrote:
>>
>> Hi,
>>
>> This is off-topic, but as a user I prefer the level 3 to the level 4
>> logs, it's more concise and relevant.
>>
>> As a developper, I'd be against setting 4 as the default (users are
>> free to do it, of course) because this would be against the semantics:
>> 1=error, 2=warning, 3=info, 4=debug. Users should not see debug
>> information. Therefore, if anything has to be done, it's changing log
>> levels from 4 to 3 for messages that are not debug but reasonably
>> informative for normal users.
>>
>> Cheers,
>>
>> David
>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Savonet-users mailing list
>> savonet-us...@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à