{ "Serilog": { "Using": ["Serilog.Sinks.Console", "Serilog.Sinks.File"], "MinimumLevel": { "Default": "Information", "Override": { "Microsoft.EntityFrameworkCore.Database.Command": "Information" } }, "WriteTo": [ { "Name": "Console", "Args": { "theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console", "outputTemplate": "{Timestamp:HH:mm:ss.fff zzz} [{Level}] {Message:lj}{NewLine}{Exception}" } }, { "Name": "File", "Args": { "path": "logs/log-.log", "rollingInterval": "Day", "outputTemplate": "{Timestamp:HH:mm:ss.fff zzz} [{Level}] {Message:lj}{NewLine}{Exception}" } } ], "Enrich": ["FromLogContext"] }, "OpenApiInfo": { "Version": "1.0.0", "Title": "Dotnet.Samples.AspNetCore.WebApi", "Description": "🧪 Proof of Concept for a Web API (Async) made with .NET 8 (LTS) and ASP.NET Core 8.0", "Contact": { "Name": "GitHub", "Url": "https://github.com/nanotaboada/Dotnet.Samples.AspNetCore.WebApi" }, "License": { "Name": "MIT License", "Url": "https://opensource.org/license/mit" } }, "RateLimiter": { "PermitLimit": 60, "WindowSeconds": 60, "QueueLimit": 0 } }