Fix more bad logging categories.

This commit is contained in:
Pieter-Jan Briers
2019-08-25 12:36:11 +02:00
parent 19d7cd4455
commit 3a9ccfe470
3 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ namespace Robust.Shared.ContentPack
/// <inheritdoc />
public void Mount()
{
Logger.Info($"[RES] Loading ContentPack: {_pack.FullName}...");
Logger.InfoS("res", $"Loading ContentPack: {_pack.FullName}...");
var zipFileStream = File.OpenRead(_pack.FullName);
_zip = new ZipFile(zipFileStream);

View File

@@ -218,7 +218,7 @@ namespace Robust.Shared.Prototypes
catch (Exception e)
when (e is YamlException || e is PrototypeLoadException)
{
Logger.Error($"[ENG] Exception whilst loading prototypes from {filePath}: {e}");
Logger.ErrorS("eng", $"Exception whilst loading prototypes from {filePath}: {e}");
}
}
}

View File

@@ -134,7 +134,7 @@ namespace Robust.Shared.Timing
// announce we are falling behind
if ((_timing.RealTime - _lastKeepUp).TotalSeconds >= 15.0)
{
Logger.Warning("[ENG] MainLoop: Cannot keep up!");
Logger.WarningS("eng", "MainLoop: Cannot keep up!");
_lastKeepUp = _timing.RealTime;
}
}