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.
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 toExtractInfoFromUnityMessage
parsing the filepath(lineno) with theUnityMessageRegex
that backtracks like crazy.See the PR.