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 | 12428 | YourUncleBob |
Populate -o //guest/perforce_software/p4connect/src/P4Bridge/... //guest/YourUncleBob/p4connect/src/P4Bridge/.... |
||
//guest/perforce_software/p4connect/src/P4Bridge/p4api.net/Debug.cs | |||||
#1 | 10940 | Norman Morse |
Inital Workshop release of P4Connect. Released under BSD-2 license |