2018-06-29 19:52:40 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Configuration;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Core.Configuration.UmbracoSettings
|
|
|
|
|
|
{
|
|
|
|
|
|
internal class LoggingElement : UmbracoConfigurationElement, ILoggingSection
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
[ConfigurationProperty("maxLogAge")]
|
2019-01-31 01:37:38 +11:00
|
|
|
|
internal InnerTextConfigurationElement<int> MaxLogAge => GetOptionalTextElement("maxLogAge", -1);
|
2018-06-29 19:52:40 +02:00
|
|
|
|
|
2019-01-31 01:37:38 +11:00
|
|
|
|
int ILoggingSection.MaxLogAge => MaxLogAge;
|
2018-06-29 19:52:40 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|