Skip to content

Commit

Permalink
Added logging for DotNetAstGenRunnerResults
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBakerEffendi committed Mar 8, 2024
1 parent 95948e9 commit 5c034b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DotNetAstGen/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,13 @@ private static void _ParseByteCode(string inputPath, DirectoryInfo rootOutputPat
foreach (var inputFile in new DirectoryInfo(inputPath).EnumerateFiles("*.dll",
SearchOption.AllDirectories))
{
_logger?.LogInformation("Parsing file {fileName}", inputPath);
_SummaryForDLLFile(inputFile, exclusionRegex);
}
}
else if (File.Exists(inputPath))
{
_logger?.LogInformation("Parsing DLL file {fileName}", inputPath);
_logger?.LogInformation("Parsing file {fileName}", inputPath);
var file = new FileInfo(inputPath);
Debug.Assert(file.Directory != null, "Given file has a null parent directory!");
_SummaryForDLLFile(file, exclusionRegex);
Expand Down

0 comments on commit 5c034b5

Please sign in to comment.