Atata by Yevgeniy Shunevych

<PackageReference Include="Atata" Version="1.14.0" />

.NET API 672,256 bytes

 NLogFileConsumer

Represents the log consumer that writes log to file using NLog.
public const string DefaultFileName = "Trace.log"

The default file name, which is "Trace.log".

public Func<AtataContext, string> FileNameBuilder { get; set; }

Gets or sets the builder of the file name.

public Func<AtataContext, string> FilePathBuilder { get; set; }

Gets or sets the builder of the file path.

public Func<AtataContext, string> FolderPathBuilder { get; set; }

Gets or sets the builder of the folder path.

public string Layout { get; set; }

Gets or sets the layout of log event.

protected virtual string BuildDefaultFileName(AtataContext context)

protected virtual string BuildDefaultFolderPath()