6992685b86
Former-commit-id: 0a113cb3a6feb7873f632839b1307cc6033cd595
56 lines
978 B
C#
56 lines
978 B
C#
using System.Diagnostics;
|
|
|
|
namespace System
|
|
{
|
|
internal enum LogLevel {
|
|
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, 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)
|
|
{
|
|
}
|
|
|
|
internal static bool CheckEnabled (string switchName)
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
}
|