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