Appearance
| 1 | namespace Logging is | |
| 2 | // The text of the call stack, for diagnostics written while debugging | |
| 3 | // the compiler. Empty where the runtime gives no stack trace. | |
| 4 | class CALL_STACK is | |
| 5 | @IF.dotnet() | |
| 6 | text: string static => System.Diagnostics.StackTrace().to_string() | |
| 7 | ||
| 8 | @IF.not.dotnet() | |
| 9 | text: string static => "" | |
| 10 | si | |
| 11 | si |