示例#1
0
 public static void Error(string format, params object[] args)
 {
     if (DXInfoTracer.IsErrorEnabled())
     {
         DXInfoTracer.Error(string.Format(CultureInfo.InvariantCulture, format, args));
     }
 }
示例#2
0
 public static void Error(int indentLevel, string format, params object[] args)
 {
     if (DXInfoTracer.IsErrorEnabled())
     {
         for (int i = 0; i < indentLevel; i++)
         {
             format = "   " + format;
         }
         DXInfoTracer.Error(string.Format(CultureInfo.InvariantCulture, format, args));
     }
 }