Skip to content

Commit c0ebc17

Browse files
authored
Merge pull request #20768 from michaelnebel/csharp/extractionlogging
C#: Report more timing metrics to the console logger.
2 parents e986cca + 446a877 commit c0ebc17

File tree

1 file changed

+2
-1
lines changed
  • csharp/extractor/Semmle.Extraction.CSharp.Standalone

1 file changed

+2
-1
lines changed

csharp/extractor/Semmle.Extraction.CSharp.Standalone/Extractor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ public static ExitCode Run(Options options)
170170
fileLogger.LogError($" Unhandled exception: {ex}");
171171
}
172172

173-
logger.Log(Severity.Info, $"Extraction completed in {overallStopwatch.Elapsed}");
173+
logger.Log(Severity.Info, $"Extraction completed in {analyzerStopwatch.Elapsed}");
174+
logger.Log(Severity.Info, $"Total time: {overallStopwatch.Elapsed}");
174175

175176
return ExitCode.Ok;
176177
}

0 commit comments

Comments
 (0)