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

NLog.Layouts.CsvLayout

A specialized layout that renders CSV-formatted events.
public IList<CsvColumn> Columns { get; }

Gets the array of parameters to be passed.

public string CustomColumnDelimiter { get; set; }

Gets or sets the custom column delimiter value (valid when Delimiter is set to Custom).

public CsvColumnDelimiterMode Delimiter { get; set; }

Gets or sets the column delimiter.

public string QuoteChar { get; set; }

Gets or sets the quote Character.

public CsvQuotingMode Quoting { get; set; }

Gets or sets the quoting mode.

public bool WithHeader { get; set; }

Gets or sets a value indicating whether CSV should include header.

public CsvLayout()

Initializes a new instance of the CsvLayout class.