WriteException(IAnsiConsole, Exception, ExceptionSettings) Method
Writes an exception to the console.
[RequiresDynamicCode(ExceptionFormatter.AotWarning)]
public static void WriteException(this IAnsiConsole console, Exception exception, ExceptionSettings settings)
- Namespace
- Spectre
.Console - Containing Type
- Ansi
Console Extensions
Attributes
-
Requires
Dynamic Code Attribute
Parameters
- IAnsiConsole console
- The console.
- Exception exception
- The exception to write to the console.
- ExceptionSettings settings
- The exception settings.