Fix ILogger usings
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user