Class RestProbeLogEntry
- Namespace
- Kuestenlogik.Bowire.Protocol.Rest
- Assembly
- Kuestenlogik.Bowire.Protocol.Rest.dll
One entry in the REST probe ring buffer.
public sealed record RestProbeLogEntry : IEquatable<RestProbeLogEntry>
- Inheritance
-
RestProbeLogEntry
- Implements
- Inherited Members
Constructors
RestProbeLogEntry(DateTimeOffset, RestProbeLogLevel, string)
One entry in the REST probe ring buffer.
public RestProbeLogEntry(DateTimeOffset Timestamp, RestProbeLogLevel Level, string Message)
Parameters
TimestampDateTimeOffsetLevelRestProbeLogLevelMessagestring
Properties
Level
public RestProbeLogLevel Level { get; init; }
Property Value
Message
public string Message { get; init; }
Property Value
Timestamp
public DateTimeOffset Timestamp { get; init; }
Property Value
Methods
Deconstruct(out DateTimeOffset, out RestProbeLogLevel, out string)
public void Deconstruct(out DateTimeOffset Timestamp, out RestProbeLogLevel Level, out string Message)
Parameters
TimestampDateTimeOffsetLevelRestProbeLogLevelMessagestring
Equals(RestProbeLogEntry?)
public bool Equals(RestProbeLogEntry? other)
Parameters
otherRestProbeLogEntry
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(RestProbeLogEntry?, RestProbeLogEntry?)
public static bool operator ==(RestProbeLogEntry? left, RestProbeLogEntry? right)
Parameters
leftRestProbeLogEntryrightRestProbeLogEntry
Returns
operator !=(RestProbeLogEntry?, RestProbeLogEntry?)
public static bool operator !=(RestProbeLogEntry? left, RestProbeLogEntry? right)
Parameters
leftRestProbeLogEntryrightRestProbeLogEntry