feat(logging): add dedicated executor controls - #98
Merged
Conversation
LimiNode
force-pushed
the
feat/dedicated-executor-api
branch
from
May 18, 2026 19:14
dea5caf to
980a45c
Compare
Expose config-first, explicit, and dedicated registration macros for built-in async loggers while preserving the existing macro API. Add dedicated executor lifecycle handling, cooperative single-threaded Emscripten queueing, wakeup fixes for blocked producers, and coverage for shutdown, macro registration, and C++11 Windows debug construction.
LimiNode
force-pushed
the
feat/dedicated-executor-api
branch
from
May 18, 2026 19:20
980a45c to
543da23
Compare
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
use_dedicated_executorthrough config-first, explicit, and short dedicated registration macros without breaking existingLOGIT_ADD_*macros.SingleThreadExecutorqueueing and wakeup fixes for blocked native producers.Tests
cmake -S . -B build-codex-pr-clean -G "MinGW Makefiles" -DLOGIT_CPP_BUILD_TESTS=ONcmake --build build-codex-pr-clean --target dedicated_executor_macro_api_test console_logger_dedicated_config_test dedicated_executor_shutdown_test single_thread_executor_test windows_debug_macro_compile_test per_logger_isolation_test per_logger_mixed_mode_test file_logger_test raw_file_logger_test file_logger_rotation_testctest --test-dir build-codex-pr-clean -R "dedicated_executor_macro_api_test|console_logger_dedicated_config_test|dedicated_executor_shutdown_test|single_thread_executor_test|windows_debug_macro_compile_test|per_logger_isolation_test|per_logger_mixed_mode_test|file_logger_test|raw_file_logger_test|file_logger_rotation_test" --output-on-failure