Skip to content

Commit

Permalink
Add comment to clarify logger aggregation
Browse files Browse the repository at this point in the history
  • Loading branch information
AllDwarf committed Aug 6, 2024
1 parent 3f42e99 commit d8bc8cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/BinSkim.Driver/MultithreadedAnalyzeCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public override BinaryAnalyzerContext InitializeGlobalContextFromOptions(Analyze
var ruleTelemetryLogger = new RuleTelemetryLogger(this.Telemetry.TelemetryClient);
ruleTelemetryLogger.AnalysisStarted();

// Combine rule telemetry with any other loggers that may be present.
aggregatingLogger.Loggers.Add(context.Logger);
aggregatingLogger.Loggers.Add(ruleTelemetryLogger);
context.Logger = aggregatingLogger;
Expand Down

0 comments on commit d8bc8cd

Please sign in to comment.