mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Fix more bad logging categories.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user