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); } }
public static void ParserGenericFileError(Object sender, string fileName) { DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "The file could not be read: " + fileName); }
public static void SwumCacheFileNotExist(Object sender, string cachePath) { DefaultLogEventHandlers.WriteInfoLogMessage(sender.GetType().ToString(), "Cache file does not exist: " + cachePath); }
public static void SwumFileNotFoundInArchive(Object sender, string sourcePath) { DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "File not found in archive: " + sourcePath); }
public static void ParserFileNotFoundInArchiveError(Object sender, string fileName) { DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "File not found in archive: " + fileName); }
public static void SwumErrorGeneratingSrcML(Object sender, string sourcePath) { DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "Error converting file to SrcML, no file unit found: " + sourcePath); }
public static void SwumErrorCreatingSwum(Object sender, string sourcePath, Exception ex) { DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "Error creating SWUM on file: " + sourcePath, ex); }
public static void S3Error(Object sender, Exception awsException) { DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "AWS Error occurred when writing an object", awsException); }
public static void S3NoCredentials(Object sender) { DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "Cannot load S3 credentials. Log collecting is aborted."); }
public static void IndexIOError(Object sender, Exception ioEx) { DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "", ioEx); }
public static void NoS3UploadDueToChance(Object sender, int rand) { DefaultLogEventHandlers.WriteInfoLogMessage(sender.GetType().ToString(), "Rolled a " + rand.ToString() + " (0). No S3 upload this VS run"); }
public static void IndexLockObtainFailed(Object sender, Exception lockFailedEx) { DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "", lockFailedEx); }
public static void UIMonitoringStopped(Object sender) { DefaultLogEventHandlers.WriteInfoLogMessage(sender.GetType().ToString(), "Monitoring stopped"); }
public static void UISandoBeginInitialization(Object sender) { DefaultLogEventHandlers.WriteInfoLogMessage(sender.GetType().ToString(), "Sando initialization started"); }
public static void ParserGenericException(Object sender, Exception exception) { DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "", exception); }
public static void S3UploadStarted(Object sender, string filePath) { DefaultLogEventHandlers.WriteInfoLogMessage(sender.GetType().ToString(), "Beginning to put file=" + filePath); }
public static void UISandoSearchingError(Object sender, Exception ex) { DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "", ex); }
public static void UIRespondToSolutionOpeningError(Object sender, Exception ex) { DefaultLogEventHandlers.WriteErrorLogMessage(sender.GetType().ToString(), "", ex); }