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