Update ReadMe to know about EnhancedStackTrace (#64)

EnhancedStackTrace.Current
This commit is contained in:
Kyle Wascher 2018-03-02 14:21:51 -05:00 committed by Ben Adams
parent 5c533f031f
commit 7cea80ef89

View File

@ -20,6 +20,10 @@ Output the modern C# 7.0 features in stack traces in an understandable fashion t
``` ```
exception.Demystify() exception.Demystify()
``` ```
Or instead of Environment.StackTrace
```
EnhancedStackTrace.Current()
```
Resolves the stack back to the C# source format of the calls (and is an inspectable list of stack frames) Resolves the stack back to the C# source format of the calls (and is an inspectable list of stack frames)
Calling `.ToString()` on the Demystified exception will produce a string stacktrace similar to the following (without the comments): Calling `.ToString()` on the Demystified exception will produce a string stacktrace similar to the following (without the comments):