This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

DiagnosticSeverity Pennington.Diagnostics

Severity levels for a request-scoped Diagnostic.

Fields

Error DiagnosticSeverity
Default: 1
Failure that indicates broken content or misconfiguration.
Info DiagnosticSeverity
Default: 2
Informational notice about degraded but non-broken behavior.
Warning DiagnosticSeverity
Default: 0
Potential issue that does not block rendering.

Pennington.Diagnostics.DiagnosticSeverity

namespace Pennington.Diagnostics;

/// Severity levels for a request-scoped Diagnostic.
public enum DiagnosticSeverity
{
    /// Failure that indicates broken content or misconfiguration.
    
public static const DiagnosticSeverity Error
; /// Informational notice about degraded but non-broken behavior.
public static const DiagnosticSeverity Info
; /// Potential issue that does not block rendering.
public static const DiagnosticSeverity Warning
; }