private List <ILogRecorder> GetLogRecorders() { var list = new List <ILogRecorder>(); foreach (var s1 in ConfigReader.Config.Log.Recorders[_name]) { var s2 = s1.Trim(); if (s2 != "") { var ilc = LogRecorderProvider.GetLogRecorder(s2); list.Add(ilc); } } return(list); }
private List<ILogRecorder> GetLogRecorders() { string s = ConfigHelper.LeafingSettings.GetValue(_name + "LogRecorder"); if (s != "") { var list = new List<ILogRecorder>(); var ss = s.Split('|'); foreach (var s1 in ss) { var s2 = s1.Trim(); if (s2 != "") { var ilc = LogRecorderProvider.GetLogRecorder(s2); list.Add(ilc); } } return list; } return null; }