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:
Developer 02
2025-05-09 23:27:10 +02:00
parent ea6d80918c
commit 171de98552
4 changed files with 21 additions and 12 deletions

View File

@@ -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
{