logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicko Cadell" <ni...@neoworks.com>
Subject RE: constant for "(null)"
Date Thu, 03 Nov 2005 08:55:46 GMT

Sounds like a good idea, why don't you add a property to SystemInfo to
get the 'null' text.
To allow the user to override this text we can just use an appSetting,
say log4net.NullText.


> -----Original Message-----
> From: Ron Grabowski [mailto:rongrabowski@yahoo.com] 
> Sent: 03 November 2005 06:08
> To: log4net-dev@logging.apache.org
> Subject: constant for "(null)"
> Nicko, I think it would helpful to have a constant for when a 
> value cannot be accessed. Currently the value "(null)" is 
> used but its not centrally managed. I was using "null" in 
> some code I was writing and discovered that's inconsistent 
> with what the core uses. It may also be nice to make this 
> value settable via the config file. If someone is doing a lot 
> of database work they may want to change "(null)" to 
> "**NULL**" or "N/A" to avoid confusion with SQL NULL.

View raw message