Update UIControllers to use Log (#37792)

Update UIControllers to use Log
This commit is contained in:
Tayrtahn
2025-05-28 12:50:31 -04:00
committed by GitHub
parent 721d224fd7
commit a9f7cfbcb6
10 changed files with 16 additions and 21 deletions

View File

@@ -102,6 +102,6 @@ public sealed class ViewportUIController : UIController
// Currently, this shouldn't happen. This likely happened because the main eye was set to null. When this
// does happen it can create hard to troubleshoot bugs, so lets print some helpful warnings:
Logger.Warning($"Main viewport's eye is in nullspace (main eye is null?). Attached entity: {_entMan.ToPrettyString(ent.Value)}. Entity has eye comp: {eye != null}");
Log.Warning($"Main viewport's eye is in nullspace (main eye is null?). Attached entity: {_entMan.ToPrettyString(ent.Value)}. Entity has eye comp: {eye != null}");
}
}