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

add log_set_handler #35

Merged
merged 1 commit into from
Apr 11, 2024
Merged

add log_set_handler #35

merged 1 commit into from
Apr 11, 2024

Conversation

charlesnicholson
Copy link
Contributor

This PR addresses #28 by adding a new function log_set_handler, which takes a callback. If this is set, none of the existing log functionality is engaged- only the callback is called. The callback can be set to and from NULL dynamically and the built-in log flow will be redirected or resumed.

@weliem weliem merged commit 5ca20f3 into weliem:main Apr 11, 2024
1 check passed
@charlesnicholson charlesnicholson deleted the log-redirect branch April 12, 2024 15:11
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.

None yet

2 participants