Exemple #1
0
 public static void LogReanalyze(int correlationId, IIncrementalAnalyzer analyzer, IEnumerable <DocumentId> documentIds)
 {
     Logger.Log(FunctionId.WorkCoordinatorRegistrationService_Reanalyze, KeyValueLogMessage.Create(m =>
     {
         m[Id]            = correlationId;
         m[Analyzer]      = analyzer.ToString();
         m[DocumentCount] = documentIds == null ? 0 : documentIds.Count();
     }));
 }
 public static void LogReanalyze(int correlationId, IIncrementalAnalyzer analyzer, IEnumerable<DocumentId> documentIds)
 {
     Logger.Log(FunctionId.WorkCoordinatorRegistrationService_Reanalyze, KeyValueLogMessage.Create(m =>
     {
         m[Id] = correlationId;
         m[Analyzer] = analyzer.ToString();
         m[DocumentCount] = documentIds == null ? 0 : documentIds.Count();
     }));
 }
 public static void LogReanalyze(
     int correlationId,
     IIncrementalAnalyzer analyzer,
     int documentCount,
     string languages,
     bool highPriority)
 {
     Logger.Log(FunctionId.WorkCoordinatorRegistrationService_Reanalyze, KeyValueLogMessage.Create(m =>
     {
         m[Id]            = correlationId;
         m[Analyzer]      = analyzer.ToString();
         m[DocumentCount] = documentCount;
         m[HighPriority]  = highPriority;
         m[Languages]     = languages;
     }));
 }