public void Log(object obj, Periority p) { var model = Config.Interpreters.GetModel(obj); if (model != null) { model.Periority = p; Config.Providers.Log(model); } }
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); } }