Redirecting log output with TraceListeners
Debug.WriteLine