logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject RE: constant for "(null)"
Date Thu, 03 Nov 2005 17:05:36 GMT
Ok. I wasn't sure where it should be added. That was the part of the
question I forgot to ask :)

--- Nicko Cadell <nicko@neoworks.com> wrote:

> Ron,
> 
> 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.
> 
> Nicko
> 
> > -----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.
> > 
> > 
> > 
> 


Mime
View raw message