diff --git a/Core/Servers/HttpServer.cs b/Core/Servers/HttpServer.cs index c74ccfd0..c4d9b749 100644 --- a/Core/Servers/HttpServer.cs +++ b/Core/Servers/HttpServer.cs @@ -6,7 +6,6 @@ using Core.Services; using Microsoft.Extensions.Primitives; using Core.Annotations; using ILogger = Core.Models.Utils.ILogger; -using Utils_ILogger = Core.Models.Utils.ILogger; namespace Core.Servers; diff --git a/Core/Services/LocalisationService.cs b/Core/Services/LocalisationService.cs index 87b0de06..cbf8dfef 100644 --- a/Core/Services/LocalisationService.cs +++ b/Core/Services/LocalisationService.cs @@ -2,21 +2,20 @@ using Core.Annotations; using Core.Servers; using ILogger = Core.Models.Utils.ILogger; -using Utils_ILogger = Core.Models.Utils.ILogger; namespace Core.Services; [Injectable(InjectionType.Singleton)] public class LocalisationService { - private readonly Utils_ILogger _logger; + private readonly ILogger _logger; private readonly RandomUtil _randomUtil; private readonly DatabaseServer _databaseServer; private readonly LocaleService _localeService; private readonly I18nService _i18nService; public LocalisationService( - Utils_ILogger logger, + ILogger logger, RandomUtil randomUtil, DatabaseServer databaseServer, LocaleService localeService diff --git a/Core/Utils/Logging/SimpleTextLogger.cs b/Core/Utils/Logging/SimpleTextLogger.cs index beb1f2a0..989b41fa 100644 --- a/Core/Utils/Logging/SimpleTextLogger.cs +++ b/Core/Utils/Logging/SimpleTextLogger.cs @@ -1,12 +1,11 @@ using Core.Models.Logging; using Core.Annotations; using ILogger = Core.Models.Utils.ILogger; -using Utils_ILogger = Core.Models.Utils.ILogger; namespace Core.Utils.Logging; [Injectable(InjectionType.Singleton)] -public class SimpleTextLogger : Utils_ILogger +public class SimpleTextLogger : ILogger { // TODO: for now we simplify the logger into this barebones console writer public void WriteToLogFile(string data)