public void Analyze() { foreach (var line in _logSource.GetLines()) { if (line.Contains("Error: ")) { _logger.LogError(line); } else if (line.Contains("Info: ")) { _logger.LogInfo(line); } } }
public void Analyze() { foreach (var line in _logSource.GetLines()) { if (line.Contains("Error: ")) { _logger.LogError(line); } else if (line.Contains("Info: ")) { _logger.LogInfo(line); } } }