Debug.cs #1

  • //
  • guest/
  • anis_sg/
  • perforce_software/
  • p4connect/
  • src/
  • P4Bridge/
  • p4api.net/
  • Debug.cs
  • View
  • Commits
  • Open Download .zip Download (447 B)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Perforce.P4
{
	class Debug
	{
#if _DEBUG
		public static void Trace(string msg) { System.Diagnostics.Trace.WriteLine(msg); }
		public static void TraceIf(bool test, string msg) { System.Diagnostics.Trace.WriteLineIf(test, msg); }
#else
		public static void Trace(string msg) { }
		public static void TraceIf(bool test, string msg) { }
#endif
	}
}
# Change User Description Committed
#1 12954 anis_sg Populate -o //guest/perforce_software/p4connect/...
//guest/anis_sg/perforce_software/p4connect/....
//guest/perforce_software/p4connect/src/P4Bridge/p4api.net/Debug.cs
#1 10940 Norman Morse Inital Workshop release of P4Connect.
Released under BSD-2 license