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 | |
---|---|---|---|---|---|
#2 | 16210 | Norman Morse | Remove files from old locations | ||
#1 | 10940 | Norman Morse |
Inital Workshop release of P4Connect. Released under BSD-2 license |