Change Console.Writeline()'s to the new trace listener.