Share via


FakeLogCollector.LatestRecord Property

Definition

Gets the latest record that was created.

public:
 property Microsoft::Extensions::Logging::Testing::FakeLogRecord ^ LatestRecord { Microsoft::Extensions::Logging::Testing::FakeLogRecord ^ get(); };
public Microsoft.Extensions.Logging.Testing.FakeLogRecord LatestRecord { get; }
member this.LatestRecord : Microsoft.Extensions.Logging.Testing.FakeLogRecord
Public ReadOnly Property LatestRecord As FakeLogRecord

Property Value

The latest log record created.

Exceptions

No records have been captured.

Applies to