<PackageReference Include="NLog" Version="6.2.2" />

NLog.LayoutRenderers.GarbageCollectorInfoLayoutRenderer

The information about the garbage collector.
public CultureInfo Culture { get; set; }

Gets or sets the culture used for rendering.

public string Format { get; set; }

Format string for conversion from object to string.

public GarbageCollectorProperty Property { get; set; }

Gets or sets the property to retrieve.