1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
using System.Diagnostics;
namespace System
{
internal enum BCLDebugLogLevel {
Trace = 0,
Status = 20,
Warning= 40,
Error = 50,
Panic = 100,
}
static class BCLDebug
{
[Conditional("_DEBUG")]
static public void Assert(bool condition, string message)
{
}
[Conditional("_DEBUG")]
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, BCLDebugLogLevel 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)
{
}
internal static bool CheckEnabled (string switchName)
{
return false;
}
}
}
|