Skip to content

Commit 179fa21

Browse files
GeertvanHorrikdevlead
authored andcommitted
(GH-2746) Log task duration at the end of a task
1 parent a4d7563 commit 179fa21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Cake.Core/CakeEngine.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ private async Task ExecuteTaskAsync(ICakeContext context, IExecutionStrategy str
353353
}
354354

355355
PerformTaskTeardown(context, strategy, task, stopWatch.Elapsed, false, taskException);
356+
357+
_log.Verbose($"Completed in {stopWatch.Elapsed}");
356358
}
357359

358360
// Add the task results to the report

0 commit comments

Comments
 (0)