Browse Source

add logging

Luke Pulverenti 9 năm trước cách đây
mục cha
commit
5ed013855f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      MediaBrowser.Api/Images/ImageService.cs

+ 1 - 0
MediaBrowser.Api/Images/ImageService.cs

@@ -699,6 +699,7 @@ namespace MediaBrowser.Api.Images
 
         private ImageFormat[] GetClientSupportedFormats()
         {
+            //Logger.Debug("Request types: {0}", string.Join(",", Request.AcceptTypes ?? new string[] { }));
             var supportsWebP = (Request.AcceptTypes ?? new string[] { }).Contains("image/webp", StringComparer.OrdinalIgnoreCase);
 
             var userAgent = Request.UserAgent ?? string.Empty;