Skip to content

Conversation

@tmat
Copy link
Member

@tmat tmat commented Oct 16, 2025

Remove MessageSererity and Verbose, Quiet flags and use LogLevel uniformly.

Default level is LogLevel.Information. --verbose flag sets LogLevel.Debug. --quiet flag sets LogLevel.Warning.

Enable turning on Trace logging level via DOTNET_CLI_CONTEXT_VERBOSE env variable for extra detailed logging that may have impact on performance (previously only reported in DEBUG builds).

Currently, dotnet-watch parses DOTNET_CLI_CONTEXT_VERBOSE env variable as a boolean value that turns on verbose logging. Add trace as an additional recognized value that sets logging level to LogLevel.Trace.

@tmat tmat changed the title Logging cleanup Simplify logging Dec 7, 2025
@tmat tmat changed the title Simplify logging [dotnet-watch] Simplify logging Dec 7, 2025
@tmat tmat marked this pull request as ready for review December 8, 2025 17:13
@tmat tmat requested a review from a team as a code owner December 8, 2025 17:13
@tmat
Copy link
Member Author

tmat commented Dec 8, 2025

@DustinCampbell ptal

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