Click here to Skip to main content
15,921,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

Pls tell me how can I create a custom trace listener in c# so that I can:

1) Capture events happening inside a webservice triggered inside my web app using Trace and TraceListener classes.

2) Display the events captured on a page inside the webapp.

3) mechanism for controlling the event capturing.


1 solution

A complete explanation of the process is far too long to go in to here but there is already an article that answers this exact question on CodePlex.

Writing custom .NET trace listeners[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900