Esempio n. 1
0
 public static void Log(this INotificationLogger logger, Exception exception)
 {
     logger.Log(new LogEntry(LoggingEventType.Error, exception.Message, null, exception));
 }
Esempio n. 2
0
 public static void Log(this INotificationLogger logger, string message)
 {
     logger.Log(new LogEntry(LoggingEventType.Info, message, null, null));
 }