Skip to content

Commit 5ab4ed1

Browse files
authored
Merge pull request #15505 from tamasvajk/feature/improve-logs
C#: Improve messages in buildless extraction logs
2 parents 73d0b7e + 7b55463 commit 5ab4ed1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DependencyManager.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ public DependencyManager(string srcDir, IDependencyOptions options, ILogger logg
124124
const int align = 6;
125125
logger.LogInfo("");
126126
logger.LogInfo("Build analysis summary:");
127-
logger.LogInfo($"{nonGeneratedSources.Count,align} source files in the filesystem");
128-
logger.LogInfo($"{generatedSources.Count,align} generated source files");
129-
logger.LogInfo($"{allSolutions.Count,align} solution files");
130-
logger.LogInfo($"{allProjects.Count,align} project files in the filesystem");
127+
logger.LogInfo($"{nonGeneratedSources.Count,align} source files found on the filesystem");
128+
logger.LogInfo($"{generatedSources.Count,align} source files have been generated");
129+
logger.LogInfo($"{allSolutions.Count,align} solution files found on the filesystem");
130+
logger.LogInfo($"{allProjects.Count,align} project files found on the filesystem");
131131
logger.LogInfo($"{usedReferences.Keys.Count,align} resolved references");
132132
logger.LogInfo($"{unresolvedReferences.Count,align} unresolved references");
133133
logger.LogInfo($"{conflictedReferences,align} resolved assembly conflicts");

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public static ExitCode Run(Options options)
137137
stopwatch.Start();
138138

139139
using var logger = new ConsoleLogger(options.Verbosity, logThreadId: true);
140-
logger.Log(Severity.Info, "Running C# standalone extractor");
140+
logger.Log(Severity.Info, "Extracting C# in buildless mode");
141141
using var a = new Analysis(logger, options);
142142
var sourceFileCount = a.Extraction.Sources.Count;
143143

0 commit comments

Comments
 (0)