Class DiagnosticEventDefinition
Namespace: Cephalon.Engine.Diagnostics
Assembly: Cephalon.Engine.dll
Describes one published diagnostics event id together with its intended meaning.
public sealed record DiagnosticEventDefinition : IEquatable<DiagnosticEventDefinition>Inheritance
Section titled “Inheritance”object ← DiagnosticEventDefinition
Implements
Section titled “Implements”IEquatable<DiagnosticEventDefinition>
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”DiagnosticEventDefinition(int, string, DiagnosticSeverity, string, string)
Section titled “ DiagnosticEventDefinition(int, string, DiagnosticSeverity, string, string)”Describes one published diagnostics event id together with its intended meaning.
public DiagnosticEventDefinition(int Id, string Name, DiagnosticSeverity Severity, string MessageTemplate, string Description)Parameters
Section titled “Parameters”Id int
The stable numeric event identifier.
Name string
The stable event name paired with the numeric identifier.
Severity DiagnosticSeverity
The intended severity for the event.
MessageTemplate string
The structured message template emitted by the logger.
Description string
The operator-facing explanation of when the event is emitted.
Properties
Section titled “Properties”Description
Section titled “ Description”The operator-facing explanation of when the event is emitted.
public string Description { get; init; }Property Value
Section titled “Property Value”The stable numeric event identifier.
public int Id { get; init; }Property Value
Section titled “Property Value”MessageTemplate
Section titled “ MessageTemplate”The structured message template emitted by the logger.
public string MessageTemplate { get; init; }Property Value
Section titled “Property Value”The stable event name paired with the numeric identifier.
public string Name { get; init; }Property Value
Section titled “Property Value”Severity
Section titled “ Severity”The intended severity for the event.
public DiagnosticSeverity Severity { get; init; }