Table of Contents

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

bool

FileExtension

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

public string FileExtension { get; set; }

Property Value

string

FileName

Base file name for log files.

public string FileName { get; set; }

Property Value

string

FilePath

Full path to the log file directory.

public string FilePath { get; set; }

Property Value

string

FolderName

Folder name for log files.

public string FolderName { get; set; }

Property Value

string

Level

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

public string Level { get; set; }

Property Value

string

MaxFileSize

Maximum log file size in MB before rotation.

public int MaxFileSize { get; set; }

Property Value

int