Skip to content

Commit 08966be

Browse files
authored
Clarify EventLevel.LogAlways (dotnet#7924)
1 parent de7ecdb commit 08966be

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

xml/System.Diagnostics.Tracing/EventLevel.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ The following example shows how to use the `Verbose` enumeration member to ident
223223
</ReturnValue>
224224
<MemberValue>0</MemberValue>
225225
<Docs>
226-
<summary>No level filtering is done on the event.</summary>
226+
<summary>No level filtering is done on the event. When used as a level filter for enabling events, for example in EventListener.EnableEvents(), events of all levels will be included.</summary>
227227
</Docs>
228228
</Member>
229229
<Member MemberName="Verbose">

xml/System.Diagnostics.Tracing/EventListener.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
</Parameters>
268268
<Docs>
269269
<param name="eventSource">The event source to enable events for.</param>
270-
<param name="level">The level of events to enable.</param>
270+
<param name="level">The level of events to enable. Using EventLevel.LogAlways includes events of all levels.</param>
271271
<summary>Enables events for the specified event source that has the specified verbosity level or lower.</summary>
272272
<remarks>
273273
</remarks>
@@ -314,7 +314,7 @@
314314
</Parameters>
315315
<Docs>
316316
<param name="eventSource">The event source to enable events for.</param>
317-
<param name="level">The level of events to enable.</param>
317+
<param name="level">The level of events to enable. Using EventLevel.LogAlways includes events of all levels.</param>
318318
<param name="matchAnyKeyword">The keyword flags necessary to enable the events.</param>
319319
<summary>Enables events for the specified event source that has the specified verbosity level or lower, and matching keyword flags.</summary>
320320
<remarks>
@@ -364,7 +364,7 @@
364364
</Parameters>
365365
<Docs>
366366
<param name="eventSource">The event source to enable events for.</param>
367-
<param name="level">The level of events to enable.</param>
367+
<param name="level">The level of events to enable. Using EventLevel.LogAlways includes events of all levels.</param>
368368
<param name="matchAnyKeyword">The keyword flags necessary to enable the events.</param>
369369
<param name="arguments">The arguments to be matched to enable the events.</param>
370370
<summary>Enables events for the specified event source that has the specified verbosity level or lower, matching event keyword flag, and matching arguments.</summary>

0 commit comments

Comments
 (0)