public ActionResult Index()
        {
            LogSettingAndEvents logSettingAndEvents = new LogSettingAndEvents();
            logSettingAndEvents.IsStarted = _memoryAppender != null ? _memoryAppender.IsStarted : false;
            logSettingAndEvents.LoggingEvents = _memoryAppender == null ? Enumerable.Empty<LoggingEvent>() : _memoryAppender.GetEvents();

            return View("Show", logSettingAndEvents);
        }
 public ActionResult Filter(LoggerSettings loggerSetting)
 {
     LogSettingAndEvents logSettingAndEvents = new LogSettingAndEvents();
     logSettingAndEvents.IsStarted = _memoryAppender != null ? _memoryAppender.IsStarted : false;
     logSettingAndEvents.LoggingEvents = GetFilteredEvents(loggerSetting);
     logSettingAndEvents.LoggerSetting = loggerSetting;
     return View("Show", logSettingAndEvents);
 }
        public ActionResult Index()
        {
            var logSettingAndEvents = new LogSettingAndEvents
            {
                IsStarted = _memoryAppender?.IsStarted ?? false,
                LoggingEvents = _memoryAppender == null ? Enumerable.Empty<LoggingEvent>() : _memoryAppender.GetEvents()
            };

            return View("Show", logSettingAndEvents);
        }
        public ActionResult Filter(LoggerSettings loggerSetting)
        {
            var logSettingAndEvents = new LogSettingAndEvents
            {
                IsStarted = _memoryAppender?.IsStarted ?? false,
                LoggingEvents = GetFilteredEvents(loggerSetting),
                LoggerSetting = loggerSetting
            };

            return View("Show", logSettingAndEvents);
        }