示例#1
0
 public static void Error(string message)
 {
     if (DXInfoTracer.IsErrorEnabled())
     {
         DXInfoTracer.TraceLine(DXInfoTracer.LogLevels.Error, message);
     }
 }
示例#2
0
 public static void Verbose(string message)
 {
     if (DXInfoTracer.IsVerboseEnabled())
     {
         DXInfoTracer.TraceLine(DXInfoTracer.LogLevels.Verbose, message);
     }
 }
示例#3
0
 public static void Info(string message)
 {
     if (DXInfoTracer.IsInfoEnabled())
     {
         DXInfoTracer.TraceLine(DXInfoTracer.LogLevels.Info, message);
     }
 }
示例#4
0
 public static void Warning(string message)
 {
     if (DXInfoTracer.IsWarningEnabled())
     {
         DXInfoTracer.TraceLine(DXInfoTracer.LogLevels.Warning, message);
     }
 }
示例#5
0
 public static void Info(int indentLevel, string message)
 {
     if (DXInfoTracer.IsInfoEnabled())
     {
         for (int i = 0; i < indentLevel; i++)
         {
             message = "   " + message;
         }
         DXInfoTracer.TraceLine(DXInfoTracer.LogLevels.Info, message);
     }
 }