Table of Contents

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

bool

FileExtension

File extension for log files (default "log").

string FileExtension { get; set; }

Property Value

string

FileName

Base file name for log files.

string FileName { get; set; }

Property Value

string

FilePath

Full path to the log file directory.

string FilePath { get; set; }

Property Value

string

FolderName

Folder name for log files.

string FolderName { get; set; }

Property Value

string

Level

Minimum log level (e.g. "Error", "Information").

string Level { get; set; }

Property Value

string

MaxFileSize

Maximum log file size in MB before rotation.

int MaxFileSize { get; set; }

Property Value

int