Skip to content

Commit

Permalink
Extended writer
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalPavlik committed Apr 16, 2024
1 parent c071194 commit 5a61c25
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/StructuredLogger/BinaryLogger/BuildEventArgsWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,11 @@ private BinaryLogRecordKind Write(TaskStartedEventArgs e)
WriteDeduplicatedString(e.ProjectFile);
WriteDeduplicatedString(e.TaskFile);

if (e is TaskStartedEventArgs2 taskStarted2)
{
WriteDeduplicatedString(taskStarted2.TaskAssemblyLocation);
}

return BinaryLogRecordKind.TaskStarted;
}

Expand Down

0 comments on commit 5a61c25

Please sign in to comment.