<PackageReference Include="OpenTelemetry" Version="1.20.1" />

OpenTelemetry.Internal.SelfDiagnosticsConfigRefresher

SelfDiagnosticsConfigRefresher class checks a location for a configuration file and opens a log file of a configured size at the configured file path. Events are written in a circular way if the configuration file is present and valid. Otherwise, nothing will be logged to any file.
public static readonly byte[] MessageOnNewFile

public void Dispose()

public virtual void WriteLog(byte[] buffer, int byteCount)

Writes an event to the log file, wrapping at the configured size.