Exemple #1
0
 public AppException(AppMsg msg)
     : base(msg.ToString())
 {
     this.Message = msg;
     this.Caller  = Message.Caller;
     this.File    = Message.CallerFile;
     this.Line    = Message.FileLine;
 }
Exemple #2
0
 public void Log(AppMsg src)
 {
     lock (locker)
         LogPath().Append(src.ToString());
 }