added if checks to some debug logs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user