mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
Use Microsoft.Extensions.Logging abstraction
This commit is contained in:
parent
b0fd432126
commit
0f8b3c6347
310 changed files with 1421 additions and 2058 deletions
|
|
@ -1,4 +1,4 @@
|
|||
using MediaBrowser.Model.Logging;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
|
|
@ -34,7 +34,7 @@ namespace Emby.Server.Implementations.HttpServer
|
|||
|
||||
if (exception != null)
|
||||
{
|
||||
_logger.ErrorException("Error processing request for {0}", exception, req.RawUrl);
|
||||
_logger.LogError("Error processing request for {0}", exception, req.RawUrl);
|
||||
|
||||
if (!string.IsNullOrEmpty(exception.Message))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue