aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Monteiro <marknr.monteiro@protonmail.com>2020-03-03 23:56:47 +0100
committerMark Monteiro <marknr.monteiro@protonmail.com>2020-03-03 23:56:47 +0100
commit9aa259eb95bcb77fd1c1c7c4c115cbf6dcda7286 (patch)
tree7110cb19b5120898cdee99467683bcc1ea9e44c5
parent6b06a9a91937961eaf0cac610a96a6dd06f678c7 (diff)
Revert unnecessary ordering changes in ApplicationHost
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 78b65e798..d51e74a4d 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -166,11 +166,6 @@ namespace Emby.Server.Implementations
public bool IsShuttingDown { get; private set; }
/// <summary>
- /// Gets the logger factory.
- /// </summary>
- protected ILoggerFactory LoggerFactory { get; }
-
- /// <summary>
/// Gets the logger.
/// </summary>
protected ILogger Logger { get; }
@@ -184,6 +179,11 @@ namespace Emby.Server.Implementations
public IReadOnlyList<IPlugin> Plugins => _plugins;
/// <summary>
+ /// Gets the logger factory.
+ /// </summary>
+ protected ILoggerFactory LoggerFactory { get; }
+
+ /// <summary>
/// Gets or sets the application paths.
/// </summary>
/// <value>The application paths.</value>
@@ -378,9 +378,10 @@ namespace Emby.Server.Implementations
LoggerFactory = loggerFactory;
FileSystemManager = fileSystem;
- Logger = LoggerFactory.CreateLogger("App");
ConfigurationManager = new ServerConfigurationManager(ApplicationPaths, LoggerFactory, XmlSerializer, FileSystemManager);
+ Logger = LoggerFactory.CreateLogger("App");
+
StartupOptions = options;
ImageEncoder = imageEncoder;