directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Re: About I18n
Date Wed, 17 Mar 2010 13:02:50 GMT
On 3/17/10 1:50 PM, Felix Knecht wrote:
>
>> What about defining a number which would inform immediately about the
>> kind of message we are dealing with ? We can for instance use hex
>> numbers, where the two higher bits will be used to indicate the log level :
>> DEBUG = 00XXXXXXXXX...
>> INFO  = 01XXXXXXXXX...
>> WARN  = 10XXXXXXXXX...
>> ERROR = 11XXXXXXXXX...
>>      
> ? ATM only errors should be i18n-tyified. This means only ERROR/FATAL
> may happen. All the other things are not yet translated. Furthermore a
> log messages indicates clearly of which level it is. Do I miss something?
>    
No, you're right, this info is already provided by the logger. So please 
forget about the 2 first bits. I still think that we can use bits to 
discriminate errors though.

-- 

Regards,
Cordialement,
Emmanuel L├ęcharny
www.nextury.com



Mime
View raw message