Пример #1
0
 private void scanLogsAndSendReport()
 {
     Dictionary<string, PluginLog> pluginsLog = getPluginsLog();
     Presenter present = new Presenter(pluginsLog);
     _body = present.GetBody();
     if (!string.IsNullOrEmpty(_body))
     {
         EmailLog.SendEmail(_body, "Plugin Log Monitor");
     }
     present.SaveReport(_body);
 }