Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebMarkupMin: Replace a NullLogger by the AspNetCoreLogger #199

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

Taritsyn
Copy link
Contributor

@Taritsyn Taritsyn commented Feb 7, 2025

Currently, due to the use of a NullLogger, developers do not see errors and warnings that occur during HTML minification.
Therefore, this logger should be replaced by the AspNetCoreLogger, which is a wrapper around the standard ASP.NET Core logger.
AspNetCoreLogger should be registered before calling the AddWebMarkupMin method, so as not to “clutter” the dependency injection container.

@madskristensen madskristensen merged commit 3866f01 into madskristensen:master Feb 7, 2025
1 check passed
@madskristensen
Copy link
Owner

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants