From 4f415904b7d1a468bb33529dfccaee1692812e7d Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Mon, 8 Apr 2019 20:32:08 -0500 Subject: [PATCH] Removed trimming on Unity logs, to hopefully preserve formatting --- IPA.Injector/Injector.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IPA.Injector/Injector.cs b/IPA.Injector/Injector.cs index 08c3208e..d3b5a928 100644 --- a/IPA.Injector/Injector.cs +++ b/IPA.Injector/Injector.cs @@ -234,8 +234,8 @@ namespace IPA.Injector Application.logMessageReceived += delegate (string condition, string stackTrace, LogType type) { var level = UnityLogRedirector.LogTypeToLevel(type); - UnityLogProvider.UnityLogger.Log(level, $"{condition.Trim()}"); - UnityLogProvider.UnityLogger.Log(level, $"{stackTrace.Trim()}"); + UnityLogProvider.UnityLogger.Log(level, $"{condition}"); + UnityLogProvider.UnityLogger.Log(level, $"{stackTrace}"); }; // need to reinit streams singe Unity seems to redirect stdout