Home All Groups Group Topic Archive Search About

FileLogTraceListener in asp.net 2.0 project

Author
28 Mar 2006 3:53 PM
Carlo Folini
Hi,
I'm setting up tracing for a c# asp.net 2.0 web app.
I saw an interesting TraceListener called FileLogTraceListener that resides
in the
Microsoft.VisualBasic.Logging namespace.

Is there some drawback on using this VisualBasic class?

I found similar functionality in a trace listener for entlib 2.0
http://bloggingabout.net/blogs/erwyn/articles/rolling_file_trace_listener.aspx

--
Carlo Folini

Author
29 Mar 2006 8:25 AM
Steven Cheng[MSFT]
Hi Garlo,

Welcome to the MSDN newsgroup.

As for the FileLogTraceListener class, it is just a simple File based
TraceListener contained in the Microsoft.VisualBasic.Logging namespace,
also since this is a new class in .net framework , so I think it is purely
.net implemented and won't have any particular drawback for ASP.NET
application.  In addition, there are also some other TraceListeners under
the System.Diagnostics namespace that can help perform file based tracing,
e.g: TextWriteTraceListener , XmlWriteTraceListener ...

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.

AddThis Social Bookmark Button