Skip to content

Commit

Permalink
(cake-buildGH-2746) Log task duration at the end of a task
Browse files Browse the repository at this point in the history
  • Loading branch information
GeertvanHorrik authored and devlead committed Jan 23, 2022
1 parent a4d7563 commit 179fa21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Cake.Core/CakeEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ private async Task ExecuteTaskAsync(ICakeContext context, IExecutionStrategy str
}

PerformTaskTeardown(context, strategy, task, stopWatch.Elapsed, false, taskException);

_log.Verbose($"Completed in {stopWatch.Elapsed}");
}

// Add the task results to the report
Expand Down

0 comments on commit 179fa21

Please sign in to comment.