26 namespace Ntp.Analyzer.Config.Node
40 this.logType = logType;
41 this.threshold = threshold;
42 this.showTimestamp = showTimestamp;
43 this.showSeverity = showSeverity;
44 this.timeFormat = timeFormat;
56 public string File {
get; }
68 public bool ShowTimestamp => showTimestamp ??
true;
72 public bool ShowSeverity => showSeverity ??
true;
76 public string TimeFormat => timeFormat ??
"yyyy-MM-dd HH:mm:ss";
readonly string timeFormat
readonly bool showTimestamp
readonly bool showSeverity
readonly Severity threshold
LogConfiguration(string name, LogType?logType, Severity?threshold, bool?showTimestamp, bool?showSeverity, string timeFormat, string file)