How to log debug messages in ASP.NET Core (ASP.NET 5)
Read OriginalThis technical article details a common issue in ASP.NET Core (ASP.NET 5) where debug log messages are not displayed. It explains that both the ILoggerFactory.MinimumLevel and the specific logging provider (e.g., Console) must be explicitly set to LogLevel.Debug, as providers default to Information. The solution includes code examples for startup configuration and appsettings.json.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser