<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.
namespace OpenTelemetry.Internal { internal class SelfDiagnosticsConfigRefresher : IDisposable { public static readonly byte[] MessageOnNewFile; public SelfDiagnosticsConfigRefresher(); public void Dispose(); public virtual void WriteLog(byte[] buffer, int byteCount); } }