Integrate Serilog and add configuration classes
Enhanced logging with Serilog, including request logging and structured exception handling during startup. Added support for the Options Pattern with new configuration classes: `DocumentOperatorSettings`, `RedisSettings`, and `ApiKeySettings`. Introduced `TenantInfo` class for tenant management. Updated project files to include new dependencies and removed unused `Configuration` folder reference.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace DocumentOperator.Infrastructure.Configuration;
|
||||
|
||||
public class TenantInfo
|
||||
{
|
||||
public string TenantId { get; set; } = string.Empty;
|
||||
public string TenantName { get; set; } = string.Empty;
|
||||
public bool IsActive { get; set; } = true;
|
||||
}
|
||||
Reference in New Issue
Block a user