From 86d86144ba0322b5d3fb97fb43dc2b12a1e2861a Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 12 Jul 2023 18:09:14 +0100 Subject: [PATCH] Replace console.writeline with Logger.LogError --- project/Aki.Custom/Patches/CustomAiPatch.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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