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