Hi,
Trace.WriteLine("Tracing.....");
the statement above sends output to the listeners collection. Consequently,
if a listener is not in the collection, it would not receive such output.
(It would only receive any output sent to it directly, such as
'myTraceListener.WriteLine("Direct output");').
Note that the DefaultTraceListener is automatically included in the listener
collection.
Tor Bådshaug
tor.badshaug [//at\\] bekk.no.
"Absolon" <Ab*****@discussions.microsoft.com> wrote in message
news:72**********************************@microsof t.com...
Hi,
Can anyone tell the advantages/dis-advantages of adding a listener to the
listeners collection? In MSDN it says that listeners not in the
collection
do not recieve all trace output. What will be missing?
--
Rgds,