Example #1
0
 private void OnProxyLog(LogObject entry)
 {
     try
     {
         if (entry.EventId == -2147483648)
         {
             this.BaseLogger.WriteEntry(entry.Message, entry.LogType);
         }
         else
         {
             this.BaseLogger.WriteEntry(entry.Message, entry.LogType, entry.EventId);
         }
     }
     catch
     {
     }
 }
Example #2
0
 private void OnProxyLog(LogObject entry)
 {
     try
     {
         if (entry.EventId == -2147483648)
         {
             this.BaseLogger.WriteEntry(entry.Message, entry.LogType);
         }
         else
         {
             this.BaseLogger.WriteEntry(entry.Message, entry.LogType, entry.EventId);
         }
     }
     catch
     {
     }
 }