示例#1
0
 public AppException(AppMsg msg)
     : base(msg.ToString())
 {
     this.Message = msg;
     this.Caller  = Message.Caller;
     this.File    = Message.CallerFile;
     this.Line    = Message.FileLine;
 }
示例#2
0
文件: Log.cs 项目: 0xCM/arrows
 public void Log(AppMsg src)
 {
     lock (locker)
         LogPath().Append(src.ToString());
 }