示例#1
0
 /// <summary>
 /// 向日志添加一条错误
 /// </summary>
 /// <param name="log"></param>
 public static void Write(Log log)
 {
     //MessageBox.Show("添加了一条错误:"+log.Message);
     GlobalObject.GetUIForm().AddStatusMessage(log.ShortMessage);
     //_logFile.WriteLineAsync(log.Message);
 }