public EventSourceLogger(LoggerEventSource eventSource =null)
 {
     EventSource = eventSource?? LoggerEventSource.Log;
 }
 public StopwatchMonitor(LoggerEventSource logger, string label, string memberName, string filePath, int line)
 {
     this.logger = logger;
     this.label = label;
     this.memberName = memberName;
     this.filePath = filePath;
     this.line = line;
     stopwatch = Stopwatch.StartNew();
 }