public String GaccountEmail_masked()
 {
     if (string.IsNullOrWhiteSpace(GaccountEmail))
     {
         return("<null>");
     }
     return(EmailAddress.MaskAddress(GaccountEmail));
 }
Esempio n. 2
0
 public static void Fine(this ILog log, string message, String containsEmail)
 {
     if (Settings.Instance.LoggingLevel != "ULTRA-FINE" && !string.IsNullOrEmpty(containsEmail))
     {
         message = message.Replace(containsEmail, EmailAddress.MaskAddress(containsEmail));
     }
     log.Fine(message);
 }