Skip to content

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>

objectDiagnosticEventDefinition

IEquatable<DiagnosticEventDefinition>

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

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)

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.

The operator-facing explanation of when the event is emitted.

public string Description { get; init; }

string

The stable numeric event identifier.

public int Id { get; init; }

int

The structured message template emitted by the logger.

public string MessageTemplate { get; init; }

string

The stable event name paired with the numeric identifier.

public string Name { get; init; }

string

The intended severity for the event.

public DiagnosticSeverity Severity { get; init; }

DiagnosticSeverity