namespace Spectre.Console; /// /// A console capable of writing ANSI escape sequences. /// public static partial class AnsiConsole { /// /// Writes an exception to the console. /// /// The exception to write to the console. /// The exception format options. public static void WriteException(Exception exception, ExceptionFormats format = ExceptionFormats.Default) { Console.WriteException(exception, format); } /// /// Writes an exception to the console. /// /// The exception to write to the console. /// The exception settings. public static void WriteException(Exception exception, ExceptionSettings settings) { Console.WriteException(exception, settings); } }