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

NLog.LayoutRenderers.ProcessInfoLayoutRenderer

The information about the running process.
public CultureInfo Culture { get; set; }

Gets or sets the culture used for rendering.

public string Format { get; set; }

Gets or sets the format string used when converting the property value to a string, when the property supports formatting (e.g., DateTime, TimeSpan, or enum types).

public ProcessInfoProperty Property { get; set; }

Gets or sets the property to retrieve.