Class LogGlobalSettings
Global settings for the Logger class.
public class LogGlobalSettings : SettingsBase, INotifyPropertyChanged
- Inheritance
-
LogGlobalSettings
- Implements
- Inherited Members
- Extension Methods
Properties
Active
When false no logs are recorded. Defaults to true.
public bool Active { get; set; }
Property Value
LogFolderPath
Gets or sets the path to the folder where file logs are saved.
public string LogFolderPath { get; set; }
Property Value
MaxSizeKiloBytes
Gets or sets how many KB to allow a single log file to grow. Defaults to 512 KB.
public int MaxSizeKiloBytes { get; set; }
Property Value
MinLevel
The level of the accepted log. For a log info to be recorded its log level must be greater or equal to this level. See LogLevel enum for the numeric values of each level.
Defaults to Info.
public LogLevel MinLevel { get; set; }
Property Value
RetainDays
Gets or sets how many days to retain in the storage medium. Defaults to 7.
public int RetainDays { get; set; }
Property Value
RetainPolicyCounter
Gets or sets after how many writes to check whether it is time to apply the retain policy. Defaults to 100.
public int RetainPolicyCounter { get; set; }
Property Value
Events
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged