Change LoggingSettings.MaxLogAge from integer (minutes) to a TimeSpan.

This commit is contained in:
Andy Butland
2020-10-31 14:25:40 +01:00
parent 88380a17ae
commit 433fdbb047
3 changed files with 9 additions and 25 deletions

View File

@@ -1,7 +1,9 @@
namespace Umbraco.Core.Configuration.Models
using System;
namespace Umbraco.Core.Configuration.Models
{
public class LoggingSettings
{
public int MaxLogAge { get; set; } = -1;
public TimeSpan MaxLogAge { get; set; } = TimeSpan.FromHours(24);
}
}