mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-14 06:06:41 +00:00
Removed System.Windows.Forms dependancy from Common. Almost done removing NLog dependancy.
This commit is contained in:
@@ -4,7 +4,6 @@ using MediaBrowser.Common.Kernel;
|
||||
using MediaBrowser.Model.Logging;
|
||||
using ServiceStack.Api.Swagger;
|
||||
using ServiceStack.Common.Web;
|
||||
using ServiceStack.Logging;
|
||||
using ServiceStack.Logging.NLogger;
|
||||
using ServiceStack.ServiceHost;
|
||||
using ServiceStack.ServiceInterface.Cors;
|
||||
@@ -144,6 +143,7 @@ namespace MediaBrowser.Common.Net
|
||||
}
|
||||
|
||||
container.Register(Kernel);
|
||||
container.Register(_logger);
|
||||
|
||||
foreach (var service in Kernel.RestServices)
|
||||
{
|
||||
@@ -155,7 +155,7 @@ namespace MediaBrowser.Common.Net
|
||||
|
||||
Serialization.JsonSerializer.Configure();
|
||||
|
||||
LogManager.LogFactory = new NLogFactory();
|
||||
ServiceStack.Logging.LogManager.LogFactory = new NLogFactory();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user