Repository navigation
chore(fl): move log.h/log.cpp.hpp into fl/log/ - #2444
Merged
Merged
Conversation
Completes the logging consolidation begun in PR #2442 (which moved async_log_queue and async_logger into src/fl/log/). The user-facing log API now also lives entirely in src/fl/log/, leaving no logging files in src/fl/system/. Mechanical changes only — no API behavior changes. FL_LOG, FL_DBG, FL_WARN, and FL_ERROR macros keep their existing semantics; only the include path moves from "fl/system/log.h" to "fl/log/log.h" across all 271 consumers. - Move src/fl/system/log.h -> src/fl/log/log.h - Move src/fl/system/log.cpp.hpp -> src/fl/log/log.cpp.hpp - Update unity-build glue (drop log.cpp.hpp from fl/system/_build, add to fl/log/_build) - Bulk-flip 271 #include paths via Python script - Move tests/fl/system/log.cpp -> tests/fl/log/log.hpp and wire it into the existing tests/fl/log.cpp aggregator (alongside trace.hpp) - Update README and inline comments referencing the old path Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Important Review skippedToo many files! This PR contains 279 files, which is 129 over the limit of 150. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (279)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Completes the logging consolidation started in #2442 (which moved
async_log_queueandasync_loggerintosrc/fl/log/). The user-facing log API now also lives entirely undersrc/fl/log/, leaving no logging files insrc/fl/system/.This is a mechanical relocation only — no API behavior changes.
FL_LOG,FL_DBG,FL_WARN, andFL_ERRORmacros keep their existing semantics. The only thing that changed is the include path:#include "fl/system/log.h"#include "fl/log/log.h"What moved
src/fl/system/log.h→src/fl/log/log.hsrc/fl/system/log.cpp.hpp→src/fl/log/log.cpp.hpptests/fl/system/log.cpp→tests/fl/log/log.hpp(now wired into the existingtests/fl/log.cppaggregator alongside the otherfl/log/*.hpptest units andtests/fl/system/trace.hpp)Build glue
#include "fl/system/log.cpp.hpp"fromsrc/fl/system/_build.cpp.hpp#include "fl/log/log.cpp.hpp"tosrc/fl/log/_build.cpp.hppConsumer flip
271 files (across
src/,tests/,examples/,ci/) had their#include "fl/system/log.h"rewritten in a single bulk pass via a small Python script.Doc / comment cleanup
README example and a handful of inline comments (
assert_defs.h,fltest.h,channel_driver_rmt.cpp.hpp,log.h@filecomment) updated to referencefl/log/log.h.Test plan
bash lint --cppclean (TestPathStructureChecker, TestAggregationChecker, HeadersExistChecker all happy)bash test --cpp --clean— 301/302 passed; the single failure (fl_audio_detector_vocalDLL load error 126) is the known flake — re-ranbash test fl_audio_detector_vocal --cppand it passed cleanlygit grep 'fl/system/log\.h'returns zero matches🤖 Generated with Claude Code