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

NLog.LayoutRenderers.GarbageCollectorProperty

Gets or sets the property of System.GC to retrieve.

Gets the number of Gen0 collections. Reported by CollectionCount

Gets the number of Gen1 collections. Reported by CollectionCount

Gets the number of Gen2 collections. Reported by CollectionCount

Maximum generation number supported by GC. Reported by MaxGeneration

Total bytes of managed memory allocated. Reported by GetTotalMemory

Total bytes of managed memory allocated (perform full garbage collection first).

Physical memory mapped to the current process context (includes both managed and unmanaged memory). Reported by WorkingSet