Skip to content

Commit

Permalink
Fix incorrect IsEnabled check on TplEventSource.TaskWaitContinuation* (
Browse files Browse the repository at this point in the history
  • Loading branch information
sywhang authored Jan 5, 2021
1 parent 2ef14c3 commit cb8a5ed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ public void TaskWaitEnd(
public void TaskWaitContinuationComplete(int TaskID)
{
// Log an event if indicated.
if (IsEnabled() && IsEnabled(EventLevel.Verbose, Keywords.Tasks))
if (IsEnabled() && IsEnabled(EventLevel.Verbose, Keywords.TaskStops))
WriteEvent(TASKWAITCONTINUATIONCOMPLETE_ID, TaskID);
}

Expand All @@ -373,7 +373,7 @@ public void TaskWaitContinuationComplete(int TaskID)
/// </summary>
/// <param name="TaskID">The task ID.</param>
[Event(TASKWAITCONTINUATIONSTARTED_ID,
Level = EventLevel.Verbose, Keywords = Keywords.TaskStops)]
Level = EventLevel.Verbose, Keywords = Keywords.Tasks)]
public void TaskWaitContinuationStarted(int TaskID)
{
// Log an event if indicated.
Expand Down

0 comments on commit cb8a5ed

Please sign in to comment.