NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Analyzer.Config.Node.LogConfiguration Class Reference
Inheritance diagram for Ntp.Analyzer.Config.Node.LogConfiguration:
Collaboration diagram for Ntp.Analyzer.Config.Node.LogConfiguration:

Public Attributes

LogType LogType => logType ?? LogType.File
 
bool ShowSeverity => showSeverity ?? true
 
bool ShowTimestamp => showTimestamp ?? true
 
Severity Threshold => threshold ?? Severity.Info
 
string TimeFormat => timeFormat ?? "yyyy-MM-dd HH:mm:ss"
 
- Public Attributes inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
virtual string FilePath => Parent.FilePath + SubPath
 
virtual string SubPath => string.Empty
 

Package Functions

 LogConfiguration (string name, LogType?logType, Severity?threshold, bool?showTimestamp, bool?showSeverity, string timeFormat, string file)
 
- Package Functions inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
virtual void Assemble ()
 

Properties

string File [get]
 
- Properties inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
string ConfigName [get]
 
ConfigurationNode Parent [get, set]
 
- Properties inherited from Ntp.Analyzer.Interface.IConfigurationNode
string ConfigName [get]
 
- Properties inherited from Ntp.Common.Log.ILogConfiguration
string File [get]
 
LogType LogType [get]
 
bool ShowSeverity [get]
 
bool ShowTimestamp [get]
 
Severity Threshold [get]
 
string TimeFormat [get]
 

Private Attributes

readonly LogType logType
 
readonly bool showSeverity
 
readonly bool showTimestamp
 
readonly Severity threshold
 
readonly string timeFormat
 

Additional Inherited Members

- Protected Member Functions inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
 ConfigurationNode (string name)
 

Detailed Description

Definition at line 28 of file LogConfiguration.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Config.Node.LogConfiguration.LogConfiguration ( string  name,
LogType logType,
Severity threshold,
bool?  showTimestamp,
bool?  showSeverity,
string  timeFormat,
string  file 
)
inlinepackage

Member Data Documentation

readonly LogType Ntp.Analyzer.Config.Node.LogConfiguration.logType
private

Definition at line 48 of file LogConfiguration.cs.

LogType Ntp.Analyzer.Config.Node.LogConfiguration.LogType => logType ?? LogType.File

Definition at line 64 of file LogConfiguration.cs.

readonly bool Ntp.Analyzer.Config.Node.LogConfiguration.showSeverity
private

Definition at line 49 of file LogConfiguration.cs.

bool Ntp.Analyzer.Config.Node.LogConfiguration.ShowSeverity => showSeverity ?? true

Definition at line 72 of file LogConfiguration.cs.

readonly bool Ntp.Analyzer.Config.Node.LogConfiguration.showTimestamp
private

Definition at line 50 of file LogConfiguration.cs.

bool Ntp.Analyzer.Config.Node.LogConfiguration.ShowTimestamp => showTimestamp ?? true

Definition at line 68 of file LogConfiguration.cs.

readonly Severity Ntp.Analyzer.Config.Node.LogConfiguration.threshold
private

Definition at line 52 of file LogConfiguration.cs.

Severity Ntp.Analyzer.Config.Node.LogConfiguration.Threshold => threshold ?? Severity.Info

Definition at line 60 of file LogConfiguration.cs.

readonly string Ntp.Analyzer.Config.Node.LogConfiguration.timeFormat
private

Definition at line 51 of file LogConfiguration.cs.

string Ntp.Analyzer.Config.Node.LogConfiguration.TimeFormat => timeFormat ?? "yyyy-MM-dd HH:mm:ss"

Definition at line 76 of file LogConfiguration.cs.

Property Documentation

string Ntp.Analyzer.Config.Node.LogConfiguration.File
get

Definition at line 56 of file LogConfiguration.cs.


The documentation for this class was generated from the following file: