0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 09:50:43 -05:00

Add additional logging

This commit is contained in:
Dev 2023-11-12 13:52:54 +00:00
parent 4b0ebbe597
commit 4d9e340122
2 changed files with 9 additions and 1 deletions

View File

@ -35,6 +35,11 @@ namespace Aki.Common.Utils
Log(source, message, EServerLogLevel.Info);
}
public static void Debug(string source, string message)
{
Log(source, message, EServerLogLevel.Debug);
}
public static void Log(
string source,
string message,

View File

@ -1,4 +1,6 @@
using Microsoft.Win32;
using Aki.Common.Utils;
using BepInEx.Logging;
using Microsoft.Win32;
using System.IO;
namespace Aki.Core.Utils
@ -15,6 +17,7 @@ namespace Aki.Core.Utils
var v1 = Registry.LocalMachine.OpenSubKey(c0, false).GetValue("UninstallString");
var v2 = (v1 != null) ? v1.ToString() : string.Empty;
var v3 = new FileInfo(v2);
ServerLog.Debug("Aki.Core", v2);
var v4 = new FileInfo[]
{
v3,