Skip to content

Conversation

NewYaroslav
Copy link
Owner

Summary

  • add RAII-based ScopeTimer to log scope durations
  • expose LOGIT_SCOPE_* macros for all log levels with optional threshold
  • add formatted LOGIT_SCOPE_FMT_* macros and demonstrate usage
  • show scope timing usage in example and fmt macros test
  • cover scope timer macros in compiled-level test

Testing

  • cmake -S . -B build -DLOGIT_CPP_BUILD_TESTS=ON -DLOGIT_CPP_BUILD_EXAMPLES=ON
  • cmake --build build
  • ctest --test-dir build --output-on-failure

https://chatgpt.com/codex/tasks/task_e_68c8235cf8bc832cba426eddf251e9e2

@NewYaroslav NewYaroslav merged commit 599c3ab into main Sep 15, 2025
10 checks passed
@NewYaroslav NewYaroslav deleted the codex/add-raii-timer-for-logging-duration branch September 20, 2025 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant