Class LoggingConfiguration
- Namespace
- OrpheusCore.Configuration
- Assembly
- OrpheusCore.dll
Logging configuration model.
public class LoggingConfiguration : IFileLoggingConfiguration
- Inheritance
-
LoggingConfiguration
- Implements
- Inherited Members
Properties
Enabled
Whether file logging is enabled.
public bool Enabled { get; set; }
Property Value
FileExtension
File extension for log files (default "log").
public string FileExtension { get; set; }
Property Value
FileName
Base file name for log files.
public string FileName { get; set; }
Property Value
FilePath
Full path to the log file directory.
public string FilePath { get; set; }
Property Value
FolderName
Folder name for log files.
public string FolderName { get; set; }
Property Value
Level
Minimum log level (e.g. "Error", "Information").
public string Level { get; set; }
Property Value
MaxFileSize
Maximum log file size in MB before rotation.
public int MaxFileSize { get; set; }