Skip to content

Clarify EventLevel.LogAlways - #7924

Merged
gewarren merged 1 commit into
dotnet:mainfrom
noahfalk:logalways
Apr 6, 2022
Merged

gewarren merged 1 commit into
dotnet:mainfrom
noahfalk:logalways

Conversation

@noahfalk

@noahfalk noahfalk commented Apr 4, 2022

Copy link
Copy Markdown
Member

Fixes dotnet/diagnostics#2445

Using EventLevel.LogAlways to enable events is a special case. The standard pattern says
that events of level <= the filter level should be enabled which would mean only events at level
LogAlways would be included. However specifying LogAlways enables events of all levels.

Fixes dotnet/diagnostics#2445

Using EventLevel.LogAlways to enable events is a special case. The standard pattern says
that events of level <= the filter level should be enabled which would mean only events at level
LogAlways would be included. However specifying LogAlways enables events of all levels.
@noahfalk
noahfalk requested a review from a team as a code owner April 4, 2022 23:28
@ghost

ghost commented Apr 4, 2022

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/area-system-diagnostics-tracing
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes dotnet/diagnostics#2445

Using EventLevel.LogAlways to enable events is a special case. The standard pattern says
that events of level <= the filter level should be enabled which would mean only events at level
LogAlways would be included. However specifying LogAlways enables events of all levels.

Author: noahfalk
Assignees: -
Labels:

area-System.Diagnostics.Tracing

Milestone: -

@noahfalk

noahfalk commented Apr 4, 2022

Copy link
Copy Markdown
Member Author

cc @dotnet/dotnet-diag

@opbld32

opbld32 commented Apr 4, 2022

Copy link
Copy Markdown

Docs Build status updates of commit b40dfd1:

✅ Validation status: passed

File Status Preview URL Details
xml/System.Diagnostics.Tracing/EventLevel.xml ✅Succeeded View
xml/System.Diagnostics.Tracing/EventListener.xml ✅Succeeded View

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@hoyosjs hoyosjs left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sad approval

@noahfalk

noahfalk commented Apr 6, 2022

Copy link
Copy Markdown
Member Author

Thanks for review!
@gewarren - Could you hit the merge button for me? I don't have permission to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EventListener is filtering at LogAlways verbosity has special cased behavior that should be appropriately documented

4 participants