Пример #1
0
 public static void TestLogging(Object sender)
 {
     DefaultLogEventHandlers.WriteInfoLogMessage(sender.GetType().ToString(), "Message from the logger");
     if (sender as string != null)
     {
         DefaultLogEventHandlers.WriteInfoLogMessage(sender.GetType().ToString(), sender as string);
     }
 }
Пример #2
0
 public static void ParserGenericFileError(Object sender, string fileName)
 {
     DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "The file could not be read: " + fileName);
 }
Пример #3
0
 public static void SwumCacheFileNotExist(Object sender, string cachePath)
 {
     DefaultLogEventHandlers.WriteInfoLogMessage(sender.GetType().ToString(), "Cache file does not exist: " + cachePath);
 }
Пример #4
0
 public static void SwumFileNotFoundInArchive(Object sender, string sourcePath)
 {
     DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "File not found in archive: " + sourcePath);
 }
Пример #5
0
 public static void ParserFileNotFoundInArchiveError(Object sender, string fileName)
 {
     DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "File not found in archive: " + fileName);
 }
Пример #6
0
 public static void SwumErrorGeneratingSrcML(Object sender, string sourcePath)
 {
     DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "Error converting file to SrcML, no file unit found: " + sourcePath);
 }
Пример #7
0
 public static void SwumErrorCreatingSwum(Object sender, string sourcePath, Exception ex)
 {
     DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "Error creating SWUM on file: " + sourcePath, ex);
 }
Пример #8
0
 public static void S3Error(Object sender, Exception awsException)
 {
     DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "AWS Error occurred when writing an object", awsException);
 }
Пример #9
0
 public static void S3NoCredentials(Object sender)
 {
     DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "Cannot load S3 credentials. Log collecting is aborted.");
 }
Пример #10
0
 public static void IndexIOError(Object sender, Exception ioEx)
 {
     DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "", ioEx);
 }
Пример #11
0
 public static void NoS3UploadDueToChance(Object sender, int rand)
 {
     DefaultLogEventHandlers.WriteInfoLogMessage(sender.GetType().ToString(), "Rolled a " + rand.ToString() + " (0). No S3 upload this VS run");
 }
Пример #12
0
 public static void IndexLockObtainFailed(Object sender, Exception lockFailedEx)
 {
     DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "", lockFailedEx);
 }
Пример #13
0
 public static void UIMonitoringStopped(Object sender)
 {
     DefaultLogEventHandlers.WriteInfoLogMessage(sender.GetType().ToString(), "Monitoring stopped");
 }
Пример #14
0
 public static void UISandoBeginInitialization(Object sender)
 {
     DefaultLogEventHandlers.WriteInfoLogMessage(sender.GetType().ToString(), "Sando initialization started");
 }
Пример #15
0
 public static void ParserGenericException(Object sender, Exception exception)
 {
     DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "", exception);
 }
Пример #16
0
 public static void S3UploadStarted(Object sender, string filePath)
 {
     DefaultLogEventHandlers.WriteInfoLogMessage(sender.GetType().ToString(), "Beginning to put file=" + filePath);
 }
Пример #17
0
 public static void UISandoSearchingError(Object sender, Exception ex)
 {
     DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "", ex);
 }
Пример #18
0
 public static void UIRespondToSolutionOpeningError(Object sender, Exception ex)
 {
     DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "", ex);
 }