<PackageReference Include="Serilog.Sinks.File" Version="6.0.0-dev-00979" />

Serilog.RollingInterval

public enum RollingInterval
Specifies the frequency at which the log file should roll.
Day = 3

Roll every day. Filenames will have yyyyMMdd appended.

Hour = 4

Roll every hour. Filenames will have yyyyMMddHH appended.

The log file will never roll; no time period information will be appended to the log file name.

Minute = 5

Roll every minute. Filenames will have yyyyMMddHHmm appended.

Month = 2

Roll every calendar month. Filenames will have yyyyMM appended.

Year = 1

Roll every year. Filenames will have a four-digit year appended in the pattern yyyy.