Skip to content

CXXCBC-605: Add support for user-defined log consumption #743

Merged
avsej merged 1 commit intocouchbase:mainfrom
Matt-Woz:CXXCBC-605
Apr 2, 2025
Merged

CXXCBC-605: Add support for user-defined log consumption #743
avsej merged 1 commit intocouchbase:mainfrom
Matt-Woz:CXXCBC-605

Conversation

@Matt-Woz
Copy link
Copy Markdown
Contributor

Motivation

Users should be able to redirect SDK logs to their custom logger implementations for easier integration with their logging infrastructure

Changes

  • Add register_log_callback & unregister_log_callback functions to allow registering of custom log handlers for SDK logs

Comment thread core/logger/logger.cxx Outdated
@Matt-Woz Matt-Woz force-pushed the CXXCBC-605 branch 3 times, most recently from 9fd9f96 to 2257882 Compare April 1, 2025 12:18
@avsej avsej merged commit 98bdcc2 into couchbase:main Apr 2, 2025
24 of 27 checks passed
@Matt-Woz Matt-Woz deleted the CXXCBC-605 branch April 2, 2025 09:33
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