Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我有 LogLevel:Error,我如何在方法中执行 logger.Information()。
这是我在 appsettings.json 中的 serilog 配置:
"Serilog": { "MinimumLevel": { "Default": "Error" } }, "WriteTo": [ { "Name": "Console" } ] }