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

Timestamp DateTimeOffset
Level RestProbeLogLevel
Message string

Properties

Level

public RestProbeLogLevel Level { get; init; }

Property Value

RestProbeLogLevel

Message

public string Message { get; init; }

Property Value

string

Timestamp

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset

Methods

Deconstruct(out DateTimeOffset, out RestProbeLogLevel, out string)

public void Deconstruct(out DateTimeOffset Timestamp, out RestProbeLogLevel Level, out string Message)

Parameters

Timestamp DateTimeOffset
Level RestProbeLogLevel
Message string

Equals(RestProbeLogEntry?)

public bool Equals(RestProbeLogEntry? other)

Parameters

other RestProbeLogEntry

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RestProbeLogEntry?, RestProbeLogEntry?)

public static bool operator ==(RestProbeLogEntry? left, RestProbeLogEntry? right)

Parameters

left RestProbeLogEntry
right RestProbeLogEntry

Returns

bool

operator !=(RestProbeLogEntry?, RestProbeLogEntry?)

public static bool operator !=(RestProbeLogEntry? left, RestProbeLogEntry? right)

Parameters

left RestProbeLogEntry
right RestProbeLogEntry

Returns

bool