[runtime] Updates comments.
[mono.git] / mcs / class / corlib / ReferenceSources / BCLDebug.cs
index ccb484211ca6124184b048302f0a916c54197ea4..cb7c8e7e4fa6403a0dad4bb5972c293fb238f8e0 100644 (file)
@@ -2,6 +2,14 @@ using System.Diagnostics;
 
 namespace System
 {
+    internal enum LogLevel {
+        Trace  = 0,
+        Status = 20,
+        Warning= 40,
+        Error  = 50,
+        Panic  = 100,
+    }
+
        static class BCLDebug
        {
                [Conditional("_DEBUG")]
@@ -13,5 +21,30 @@ namespace System
                internal static void Correctness(bool expr, string msg)
                {
                }
+
+               [Conditional("_DEBUG")]
+               static public void Log (string message)
+               {
+               }
+
+               [Conditional("_DEBUG")]
+               static public void Log (string switchName, string message)
+               {
+               }
+
+               [Conditional("_DEBUG")]
+               public static void Log (string switchName, LogLevel level, params object[] messages)
+               {
+               }
+
+               [Conditional("_DEBUG")]
+               internal static void Perf (bool expr, string msg)
+               {
+               }
+
+               [Conditional("_LOGGING")]
+               public static void Trace (string switchName, params object[]messages)
+               {
+               }
        }
-}
\ No newline at end of file
+}