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

NLog.LayoutRenderers.SpecialFolderLayoutRenderer

System special folder path (includes My Documents, My Music, Program Files, Desktop, and more).
public string Dir { get; set; }

Gets or sets the name of the directory to be Path.Combine()'d with the directory name.

public string File { get; set; }

Gets or sets the name of the file to be Path.Combine()'d with the directory name.

public SpecialFolder Folder { get; set; }

Gets or sets the system special folder to use.