Skip to content

Added missing severity levels#482

Open
jschick04 wants to merge 1 commit intomainfrom
Updated_Severity
Open

Added missing severity levels#482
jschick04 wants to merge 1 commit intomainfrom
Updated_Severity

Conversation

@jschick04
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings April 17, 2026 23:21
@jschick04 jschick04 requested a review from a team as a code owner April 17, 2026 23:21
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the event “severity/level” handling so additional ETW level codes are converted into user-facing strings during event resolution.

Changes:

  • Add Critical and Verbose to SeverityLevel.
  • Extend Severity.GetString(byte? level) to map level 1Critical and level 5Verbose.
  • Update resolver unit tests to assert the new level-to-string mappings.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/EventLogExpert.Eventing/Helpers/SeverityMethods.cs Adds missing severity level names and maps additional ETW level codes to display strings.
src/EventLogExpert.Eventing.Tests/EventResolvers/EventResolverBaseTests.cs Updates test cases to validate the new severity string mappings.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/EventLogExpert.Eventing/Helpers/SeverityMethods.cs
Comment thread src/EventLogExpert.Eventing/Helpers/SeverityMethods.cs Outdated
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