| Index: experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Tracing.cs
|
| diff --git a/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Tracing.cs b/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Tracing.cs
|
| deleted file mode 100644
|
| index 3e547be1b903a3f46808aed8f653243f893b4884..0000000000000000000000000000000000000000
|
| --- a/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Tracing.cs
|
| +++ /dev/null
|
| @@ -1,65 +0,0 @@
|
| -/// Copyright (c) Microsoft Corporation. All rights reserved.
|
| -
|
| -using System.Diagnostics;
|
| -
|
| -namespace Microsoft.VisualStudio.Project
|
| -{
|
| - internal class CCITracing
|
| - {
|
| - private CCITracing() { }
|
| -
|
| - [ConditionalAttribute("Enable_CCIDiagnostics")]
|
| - static void InternalTraceCall(int levels)
|
| - {
|
| - System.Diagnostics.StackFrame stack;
|
| - stack = new System.Diagnostics.StackFrame(levels);
|
| - System.Reflection.MethodBase method = stack.GetMethod();
|
| - if(method != null)
|
| - {
|
| - string name = method.Name + " \tin class " + method.DeclaringType.Name;
|
| - System.Diagnostics.Trace.WriteLine("Call Trace: \t" + name);
|
| - }
|
| - }
|
| -
|
| - [ConditionalAttribute("CCI_TRACING")]
|
| - static public void TraceCall()
|
| - {
|
| - // skip this one as well
|
| - CCITracing.InternalTraceCall(2);
|
| - }
|
| -
|
| - [ConditionalAttribute("CCI_TRACING")]
|
| - static public void TraceCall(string strParameters)
|
| - {
|
| - CCITracing.InternalTraceCall(2);
|
| - System.Diagnostics.Trace.WriteLine("\tParameters: \t" + strParameters);
|
| - }
|
| -
|
| - [ConditionalAttribute("CCI_TRACING")]
|
| - static public void Trace(System.Exception e)
|
| - {
|
| - CCITracing.InternalTraceCall(2);
|
| - System.Diagnostics.Trace.WriteLine("ExceptionInfo: \t" + e.ToString());
|
| - }
|
| -
|
| - [ConditionalAttribute("CCI_TRACING")]
|
| - static public void Trace(string strOutput)
|
| - {
|
| - System.Diagnostics.Trace.WriteLine(strOutput);
|
| - }
|
| -
|
| - [ConditionalAttribute("CCI_TRACING")]
|
| - static public void TraceData(string strOutput)
|
| - {
|
| - System.Diagnostics.Trace.WriteLine("Data Trace: \t" + strOutput);
|
| - }
|
| -
|
| - [ConditionalAttribute("Enable_CCIFileOutput")]
|
| - [ConditionalAttribute("CCI_TRACING")]
|
| - static public void AddTraceLog(string strFileName)
|
| - {
|
| - TextWriterTraceListener tw = new TextWriterTraceListener("c:\\mytrace.log");
|
| - System.Diagnostics.Trace.Listeners.Add(tw);
|
| - }
|
| - }
|
| -}
|
|
|