logger added

This commit is contained in:
andrei-mihnea-cerbu
2024-05-02 14:15:14 +03:00
parent 8e4322649e
commit beedfcf666
10 changed files with 18 additions and 10 deletions
+5
View File
@@ -9,6 +9,11 @@ using Microsoft.AspNetCore.Server.Kestrel.Https;
var builder = WebApplication.CreateBuilder(args);
builder.Logging.ClearProviders();
builder.Logging.AddConsole();
builder.Logging.AddDebug();
// Specify the paths to your certificate and key files
var certPath = Path.Combine(Directory.GetCurrentDirectory(), "cert.pem");
var keyPath = Path.Combine(Directory.GetCurrentDirectory(), "key.pem");