Apply suggestions from code review

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
This commit is contained in:
Bjarke Berg
2021-09-06 15:24:04 +02:00
committed by GitHub
parent e1ca6da8b7
commit 8e54946810

View File

@@ -34,10 +34,10 @@ namespace Umbraco.Cms.Infrastructure.Logging.Serilog
public LogEventLevel RestrictedToMinimumLevel { get; set; } = LogEventLevel.Verbose;
public long FileSizeLimitBytes { get; set; } = 1073741824;
public RollingInterval RollingInterval { get; set; }= RollingInterval.Day;
public RollingInterval RollingInterval { get; set; } = RollingInterval.Day;
public TimeSpan? FlushToDiskInterval { get; set; } = null;
public bool RollOnFileSizeLimit { get; set; } = false;
public int RetainedFileCountLimit { get; set; }= 31;
public int RetainedFileCountLimit { get; set; } = 31;
public string GetPath(string logDirectory)
{