示例#1
0
 public void Info(Func <string> msgGenerator)
 {
     PPIEvents.Raise(new InfoEvent(_source, msgGenerator));
 }
示例#2
0
 public void LogException(string msg, Exception e)
 {
     PPIEvents.Raise(new ExceptionEvent(_source, e, () => msg));
 }
示例#3
0
 public void Warn(Func <string> msgGenerator)
 {
     PPIEvents.Raise(new WarnEvent(_source, msgGenerator));
 }