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

NLog.LayoutRenderers.ScopeContextTimingLayoutRenderer

ScopeContext Timing Renderer (Async scope)
public CultureInfo Culture { get; set; }

Gets or sets the culture used for rendering.

public bool CurrentScope { get; set; }

Gets or sets whether to only include the duration of the last scope created

public string Format { get; set; }

Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format). When Format has not been specified, then it will render TimeSpan.TotalMilliseconds

public bool ScopeBeginTime { get; set; }

Gets or sets whether to just display the scope creation time, and not the duration

public bool StartTime { get; set; }

Gets or sets whether to just display the scope creation time, and not the duration