public void AddToastLoggerLogObject(LogObject logObject) { if (loggerFilter.CheckFilters(logObject) == false) { _bulkLog.Add(logObject); } }
public bool CheckFilters(LogObject logObject) { if (_filters.Count == 0) { return(false); } foreach (var pair in _filters) { if (!pair.Value.Filter(logObject)) { return(false); } } return(true); }
public void Add(LogObject logData) { _logDatas.Add(logData); }