Update version and enhance logging configuration
- Bump `EnvelopeGenerator.Web` version to `3.1.3`. - Improve logging setup in `Program.cs` with NLog and Trace level. - Modify `ServiceContainer` to accept `MSSQLServer` parameter. - Update `ModelContainer` to utilize new database service. - Add `warningLogs` section in `appsettings.json` for logging. - Streamline logging rules by consolidating level properties.
This commit is contained in:
@@ -18,9 +18,9 @@ namespace EnvelopeGenerator.Web.Services
|
||||
public ActionService actionService;
|
||||
public EmailService emailService;
|
||||
|
||||
public ServiceContainer(State state)
|
||||
public ServiceContainer(State state, MSSQLServer MSSQL)
|
||||
{
|
||||
actionService = new(state);
|
||||
actionService = new(state, MSSQL);
|
||||
emailService = new(state);
|
||||
}
|
||||
}
|
||||
@@ -82,7 +82,7 @@ namespace EnvelopeGenerator.Web.Services
|
||||
State.DbConfig = configModel.LoadConfiguration();
|
||||
|
||||
Models = new(State);
|
||||
Services = new(State);
|
||||
Services = new(State, MSSQL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user