new ConsoleTraceListener()
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
public class MainClass
{
public static void Main()
{
Trace.Listeners.Add(new ConsoleTraceListener());
}
}
Related examples in the same category