added if checks to some debug logs

This commit is contained in:
Alex
2025-01-27 21:10:44 +00:00
parent 7017f73d2e
commit b7b5b7da34
9 changed files with 93 additions and 37 deletions
+6
View File
@@ -1,4 +1,5 @@
using Core.Models.Logging;
using Core.Models.Spt.Logging;
using Core.Models.Utils;
using SptCommon.Annotations;
@@ -53,4 +54,9 @@ public class SptBasicLogger<T> : ISptLogger<T>
{
Console.WriteLine($"{categoryName}: {body}");
}
public bool IsLogEnabled(LogLevel level)
{
return true;
}
}