/// <summary> /// 打印错误 /// </summary> /// <param name="str"></param> public void PrintError(string str) { if (Wapper != null) { Wapper.PrintError(str); } }
/// <summary> /// 向一个流中输出错误 /// </summary> /// <param id="msg"></param> /// <param id="stream"></param> public void Error(string msg, StreamWriter stream) { webApi.PrintError("Error :[" + msg + "]"); }