Skip to content

Commit

Permalink
Incremental generator now does init logic in debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ByronMayne committed Nov 14, 2023
1 parent c75de43 commit 3174cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SourceGenerator.Foundations/IncrementalGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected IncrementalGenerator(string? name)
{
Name = name ?? GetType().Name;
Logger = DevelopmentEnviroment.Logger.ForContext(Constants.SourceContextPropertyName, Name);
Logger.Information("Initalizing {GeneratorName}", name ?? GetType().Name);
Logger.Debug("Initalizing {GeneratorName}", name ?? GetType().Name);
}

/// <summary>
Expand Down

0 comments on commit 3174cdc

Please sign in to comment.