public static void ReportTelemetry() { Logger.Log(FunctionId.PersistedSemanticVersion_Info, KeyValueLogMessage.Create(m => { m[Text] = s_logAggregator.GetCount(Text); m[SyntaxTree] = s_logAggregator.GetCount(SyntaxTree); m[Project] = s_logAggregator.GetCount(Project); m[DependentProject] = s_logAggregator.GetCount(DependentProject); })); }
public static void ReportTelemetry() { Logger.Log(FunctionId.Workspace_Solution_Info, KeyValueLogMessage.Create(m => { m[nameof(UseExistingPartialProjectState)] = s_logAggregator.GetCount(nameof(UseExistingPartialProjectState)); m[nameof(UseExistingFullProjectState)] = s_logAggregator.GetCount(nameof(UseExistingFullProjectState)); m[nameof(CreatePartialProjectState)] = s_logAggregator.GetCount(nameof(CreatePartialProjectState)); m[nameof(UseExistingPartialSolution)] = s_logAggregator.GetCount(nameof(UseExistingPartialSolution)); m[nameof(CreatePartialSolution)] = s_logAggregator.GetCount(nameof(CreatePartialSolution)); })); }
public static void LogSummary() { Logger.Log(FunctionId.PersistedSemanticVersion_Info, KeyValueLogMessage.Create(m => { m[ProjectCount] = s_logAggregator.GetCount(ProjectCount); m[InitialSemanticVersionCount] = s_logAggregator.GetCount(InitialSemanticVersionCount); m[InitialDependentSemanticVersionCount] = s_logAggregator.GetCount(InitialDependentSemanticVersionCount); m[Text] = s_logAggregator.GetCount(Text); m[SyntaxTree] = s_logAggregator.GetCount(SyntaxTree); m[Project] = s_logAggregator.GetCount(Project); m[DependentProject] = s_logAggregator.GetCount(DependentProject); m[Semantic] = s_logAggregator.GetCount(Semantic); m[DependentSemantic] = s_logAggregator.GetCount(DependentSemantic); })); }