Skip to main content

legacy_diagnostic

Function legacy_diagnostic 

Source
pub fn legacy_diagnostic(
    severity: DiagnosticSeverity,
    text: &str,
    correlation_id: String,
) -> Diagnostic
Expand description

Adapt legacy styled messages without dropping evidence after the summary. Correlation identity belongs to the producer; this adapter does not authorize actions.