public TransactionLogModule(EntityArea area, TransactionLogSettings settings = null) : base(area, "TransactionLog", version: CurrentVersion) { Settings = settings ?? new TransactionLogSettings(); App.RegisterConfig(Settings); RegisterEntities(typeof(ITransactionLog)); App.RegisterService<ITransactionLogService>(this); }
public TransactionLogModule(EntityArea area, TransactionLogSettings settings = null, bool trackHostApp = true) : base(area, "TransactionLog", version: CurrentVersion) { Settings = settings ?? new TransactionLogSettings(); App.RegisterConfig(Settings); RegisterEntities(typeof(ITransactionLog)); App.RegisterService <ITransactionLogService>(this); if (trackHostApp) { SetupLoggingFor(this.App); } }