Microsoft.Extensions.Logging.EventId
Identifies a logging event. The primary identifier is the "Id" property, with the "Name" property providing a short description of this type of event.
namespace Microsoft.Extensions.Logging
{
public readonly struct EventId : IEquatable<EventId>
{
public int Id { get; }
public string Name { get; }
public static implicit operator EventId(int i);
public static bool operator ==(EventId left, EventId right);
public static bool operator !=(EventId left, EventId right);
public EventId(int id, string name = null);
public bool Equals(EventId other);
}
}