I want to write CustomTraceListener which writes all data to SQL Server DB. Here\'s the stub for it: public class SqlTraceListener : TraceListener
I\'m trying to log messages to my WCF service at transport level. I\'ve followed some instructions I found on the net successfully, but now I want to implement my own trace listener that supports our
I\'m using next method to add a trace record: TraceSource.TraceEvent(TraceEventType, Int32, String) where Int32 represents event id.
I want to use below code with a website. Which config sections I should add to web.config to log the output into a file or windows eventlog ?
I get an odd intermittent error when trying to write a Diagnostics.Trace message from an assembly used by an ASP.NET application.It\'s .NET 3.5 on IIS7.
I have been looking at using System.Diagnostics.Trace for doing logging is a very basic app. Generally it does all I need it to do. The downside is that if I call
According to the YAML documentation it\'s possible to pass a hash of options to the .to_yaml method. Currently when I pass the options as suggested by the documentation it\'s not working, the hash is