<PackageReference Include="Serilog" Version="4.4.1-dev-02447" />

System.TimeProvider

abstract class TimeProvider
A super-simple, cut-down subset of `System.TimeProvider` which we use internally to avoid a package dependency on platforms without it.
public static TimeProvider System { get; }

public virtual long TimestampFrequency { get; }

protected TimeProvider()

public TimeSpan GetElapsedTime(long startingTimestamp, long endingTimestamp)

public TimeSpan GetElapsedTime(long startingTimestamp)

public virtual long GetTimestamp()

public virtual DateTimeOffset GetUtcNow()