public static void Error(string format, params object[] args) { if (DXInfoTracer.IsErrorEnabled()) { DXInfoTracer.Error(string.Format(CultureInfo.InvariantCulture, format, args)); } }
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)); } }