/// <summary> /// /// </summary> /// <param name="lps"></param> public void SetLogPersistenceService(ILogPersistenceService lps) { if (lps != null) { LogPersistenceService = lps; } }
public DbLoggingEntityApp(string schema = "log") : base("LoggingEntityApp", CurrentVersion) { var area = base.AddArea(schema); ErrorPersistenceModule = new ErrorLogModule(area); PersistenceService = new LogPersistenceService(); RegisterService <ILogPersistenceService>(PersistenceService); AppEventModule = new AppEventLogModule(area); WebCallLog = new WebCallLogModule(area); OperationLog = new OperationLogModule(area); }