http://logging.apache.org/log4net/release/manual/contexts.html
using(log4net.ThreadContext.Stacks["NDC"].Push("context"))
{
log.Info("Message");
}
----- Original Message ----
From: rodchar <[email protected]>
To: [email protected]
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.