bbbscarter / UberLogger

Replacement logging framework for Unity, with a new editor and in-game console
MIT License
475 stars 62 forks source link

Hangs on long log lines. #53

Closed gunjambi closed 4 years ago

gunjambi commented 4 years ago

When logging a long line, UberLogger appears to hang. On my machine, logging new string('a', 100000) takes a bit over 3 minutes. This is due to ExtractInfoFromUnityMessage parsing the filepath(lineno) with the UnityMessageRegex that backtracks like crazy.

See the PR.