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

OpenTelemetry.Internal.ISelfDiagnosticsFormatter

Renders a SelfDiagnosticsLogEntry to text for a sink.
string FileHeader { get; }

Gets an optional header line written at the top of each new log file (after the preamble), or null when the format has no header concept.

string Format(SelfDiagnosticsLogEntry& modreq(System.Runtime.InteropServices.InAttribute) entry)