Пример #1
0
 public static void LogHttpRequestException([NotNull] this Logger l, string message, [NotNull] HttpRequestException wex)
 {
     if (wex.IsUnimportant())
     {
         l.Warn(message + " " + wex.LoggableDetails());
     }
     else
     {
         l.Error(message + " " + wex.LoggableDetails());
     }
 }