Browse Source

Removed trimming on Unity logs, to hopefully preserve formatting

pull/11/head 3.12.9
Anairkoen Schno 5 years ago
parent
commit
67184bcf19
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      IPA.Injector/Injector.cs

+ 2
- 2
IPA.Injector/Injector.cs View File

@ -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


Loading…
Cancel
Save