Remove some Logger usages from client.

About all I could muster before I got bored.
This commit is contained in:
Pieter-Jan Briers
2023-06-10 00:19:09 +02:00
parent 3160437e0f
commit 1da229549d
6 changed files with 31 additions and 12 deletions

View File

@@ -25,6 +25,7 @@ namespace Robust.Shared.GameObjects
#region Dependencies
[Dependency] protected readonly IPrototypeManager PrototypeManager = default!;
[Dependency] protected readonly ILogManager LogManager = default!;
[Dependency] private readonly IEntitySystemManager _entitySystemManager = default!;
[Dependency] private readonly IMapManager _mapManager = default!;
[Dependency] private readonly IGameTiming _gameTiming = default!;
@@ -102,8 +103,8 @@ namespace Robust.Shared.GameObjects
InitializeComponents();
_xformName = _componentFactory.GetComponentName(typeof(TransformComponent));
_metaName = _componentFactory.GetComponentName(typeof(MetaDataComponent));
_sawmill = Logger.GetSawmill("entity");
_resolveSawmill = Logger.GetSawmill("resolve");
_sawmill = LogManager.GetSawmill("entity");
_resolveSawmill = LogManager.GetSawmill("resolve");
Initialized = true;
}