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