Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[20274] Add LogFilter struct for filtering log entries by severity levels #127

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LuciaEchevarria99
Copy link
Contributor

This PR introduces the LogFilter struct, which provides filtering options for log entries based on their severity levels (info, warning, and error). The LogFilter is designed to support flexible matching using the Fuzzy<std::string> type for each severity level, allowing for advanced filtering logic.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 25 lines in your changes missing coverage. Please review.

Project coverage is 65.43%. Comparing base (b04251d) to head (571fa39).

Files with missing lines Patch % Lines
cpp_utils/src/cpp/logging/BaseLogConsumer.cpp 0.00% 13 Missing ⚠️
cpp_utils/src/cpp/logging/BaseLogConfiguration.cpp 0.00% 6 Missing ⚠️
cpp_utils/src/cpp/logging/LogFilter.cpp 0.00% 5 Missing ⚠️
cpp_utils/include/cpp_utils/logging/LogFilter.hpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #127      +/-   ##
==========================================
- Coverage   65.92%   65.43%   -0.49%     
==========================================
  Files          64       66       +2     
  Lines        1699     1704       +5     
  Branches      484      481       -3     
==========================================
- Hits         1120     1115       -5     
- Misses        278      290      +12     
+ Partials      301      299       -2     
Flag Coverage Δ
65.43% <0.00%> (-0.43%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants