Log-Konfiguration und Ausgabe.
"Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }
| Level | Beschreibung |
|---|---|
| Trace | Sehr detailliert |
| Debug | Debugging-Informationen |
| Information | Allgemeine Informationen |
| Warning | Warnungen |
| Error | Fehler |
| Critical | Kritische Fehler |
| None | Keine Logs |
Für Datei-Logging kann Serilog oder NLog integriert werden.
"Logging": { "EventLog": { "LogLevel": { "Default": "Warning" } } }