示例#1
0
 public void Log(object obj, Periority p)
 {
     var model = Config.Interpreters.GetModel(obj);
     if (model != null)
     {
         model.Periority = p;
         Config.Providers.Log(model);
     }
 }
示例#2
0
 public void Log(object obj, Periority p, LogType type,string user)
 {
     var model = Config.Interpreters.GetModel(obj);
     if (model != null)
     {
         model.Periority = p;
         model.LogType = type;
         model.User = user;
         Config.Providers.Log(model);
     }
 }