Skip to content

Commit

Permalink
Added changed symbols logging -- noticed there's way too many there
Browse files Browse the repository at this point in the history
  • Loading branch information
markwpearce committed Nov 26, 2024
1 parent bab2489 commit 9d1b21d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,12 @@ export class Program {
changedSymbols.set(SymbolTypeFlag.typetime, new Set([...changedTypeSymbols, ...dependentTypesChanged]));
}).durationText;

if (this.options.logLevel === LogLevel.debug) {
const changedRuntime = Array.from(changedSymbols.get(SymbolTypeFlag.runtime)).sort();
this.logger.debug('Changed Symbols (runTime):', changedRuntime.join(', '));
const changedTypetime = Array.from(changedSymbols.get(SymbolTypeFlag.typetime)).sort();
this.logger.debug('Changed Symbols (typeTime):', changedTypetime.join(', '));
}
const filesToBeValidatedInScopeContext = new Set<BscFile>(afterValidateFiles);

metrics.crossScopeValidationTime = validationStopwatch.getDurationTextFor(() => {
Expand Down

0 comments on commit 9d1b21d

Please sign in to comment.