Nucleus .Net Core CMS

Models.Configuration.TextFileLoggerOptions Class

Namespace: Nucleus.Abstractions.Models.Configuration
Assembly: Nucleus.Abstractions.dll
Options for the text file logger.

Properties

Enabled Property

Specifies whether the text file logger is enabled.

Path Property

Gets or sets the TextFileLogger log file path.
Remarks
If the specified path does not exist, it is automatically created.

LogFileExpiry Property

Specifies how long log files are retained before being automatically deleted.
Remarks
The default value is 7 days.

Fields

Section Field

Configuration file section path for text file logger options.