Nucleus .Net Core CMS

Models.Configuration.TextFileLoggerOptions Class

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


Enabled Property

Specifies whether the text file logger is enabled.

Path Property

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

LogFileExpiry Property

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


Section Field

Configuration file section path for text file logger options.