NormalizeStackTrace(string) Method
Normalizes a stack trace string by replacing line numbers with ":nn"
and converting full file paths to a fixed placeholder path ("/xyz/filename.cs").
public static string NormalizeStackTrace(string text)
- Namespace
- Spectre
.Console .Testing - Containing Type
- Test
Console Extensions
Parameters
- string text
- The stack trace text to normalize.
Returns
- string