diff --git a/project/Aki.Custom/Patches/CustomAiPatch.cs b/project/Aki.Custom/Patches/CustomAiPatch.cs index 228bbcd..dcd21d1 100644 --- a/project/Aki.Custom/Patches/CustomAiPatch.cs +++ b/project/Aki.Custom/Patches/CustomAiPatch.cs @@ -67,8 +67,8 @@ namespace Aki.Custom.Patches } catch (Exception ex) { - Console.WriteLine($"Error processing log: {ex.Message}"); - Console.WriteLine(ex.StackTrace); + Logger.LogError($"Error processing log: {ex.Message}"); + Logger.LogError(ex.StackTrace); } return true; // Do original