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 | |
---|---|---|---|---|---|
#3 | 28480 | eskopljak | submit | ||
#2 | 28479 | eskopljak | submit | ||
#1 | 28441 | eskopljak | Merging using p4api.net_branch | ||
//guest/perforce_software/p4api-net/main/p4api.net/Debug.cs | |||||
#1 | 19043 | Liz Lam | Rename p4api.net to p4api-net | ||
//guest/perforce_software/p4api.net/main/p4api.net/Debug.cs | |||||
#1 | 19042 | Liz Lam | Rename/move file(s) to proper main branch. | ||
//guest/perforce_software/p4api.net/p4api.net/Debug.cs | |||||
#2 | 8964 | Bill | fix line endings | ||
#1 | 8873 | Matt Attaway | Initial add of the P4API.NET source code |