Example #1
0
        public static LogFileTraceListener RegisterTextWriterListener()
        {
            LogFileTraceListener listener = new LogFileTraceListener();

            Trace.Listeners.Add(listener);
            return(listener);
        }
Example #2
0
 public static LogFileTraceListener RegisterTextWriterListener()
 {
     LogFileTraceListener listener = new LogFileTraceListener();
     Trace.Listeners.Add(listener);
     return listener;
 }