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 | 18970 | rtande |
Merging //guest/perforce_software/p4connect/main/src/... to //rtande/p4connect/main/src/... |
||
//guest/perforce_software/p4connect/main/src/P4Bridge/p4api.net/Debug.cs | |||||
#1 | 16209 | Norman Morse | Move entire source tree into "main" branch so workshop code will act correctly. | ||
//guest/perforce_software/p4connect/src/P4Bridge/p4api.net/Debug.cs | |||||
#1 | 10940 | Norman Morse |
Inital Workshop release of P4Connect. Released under BSD-2 license |