Enum FancyConsoleExceptionFormat
- Namespace
- Invex.Extensions.Logging.FancyConsole.Configuration
- Assembly
- Invex.Extensions.Logging.FancyConsole.dll
Specifies how the fancy console logger renders an exception attached to a log entry.
[PublicAPI]
public enum FancyConsoleExceptionFormat
Fields
Full = 0Writes the result of ToString(), including inner exceptions and stack traces, using ExceptionTextStyle.
Hidden = 3Does not write exceptions. Only the formatted message is written.
Pretty = 1Writes the exception using Spectre.Console's exception formatter, which highlights the exception type, message, methods, and source locations and shortens paths, types, and method names.
Summary = 2Writes only
{TypeName}: {Message}for the exception and each inner exception, joined by--->, without stack traces.