logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rodchar <rodc...@hotmail.com>
Subject Re: where is threadcontext
Date Tue, 24 Feb 2009 00:46:52 GMT

which version of log4net should we be using? we're using asp.net 2.0 fx

Ron Grabowski wrote:
> 
> http://logging.apache.org/log4net/release/manual/contexts.html
> 
> using(log4net.ThreadContext.Stacks["NDC"].Push("context"))
> {
>     log.Info("Message");
> }
> 
> ----- Original Message ----
> From: rodchar <rodchar@hotmail.com>
> To: log4net-user@logging.apache.org
> Sent: Monday, February 23, 2009 4:18:35 PM
> Subject: where is threadcontext
> 
> 
> hi all,
> 
> i was looking at NDC in the log4net SDK and read the following:
> 
> The NDC is deprecated and has been replaced by the Stacks. The current NDC
> implementation forwards to the ThreadContext.Stacks
> 
> But i don't see it when i inspect the log4net namespace.
> 
> i'm a noob to log4net please go easy.
> 
> thanks,
> rodchar
> -- 
> View this message in context:
> http://www.nabble.com/where-is-threadcontext-tp22170366p22170366.html
> Sent from the Log4net - Users mailing list archive at Nabble.com.
> 
> 

-- 
View this message in context: http://www.nabble.com/where-is-threadcontext-tp22170366p22173638.html
Sent from the Log4net - Users mailing list archive at Nabble.com.


Mime
View raw message